リポジトリの削除

Cloud Source Repositories からリポジトリを削除するには:

Console

  1. GCP Console でソース表示を開きます。

    Console のソース表示を開く

  2. 削除するリポジトリの横にあるその他ボタン その他ボタン をクリックします。

    リポジトリの作成ボタン

  3. [削除] を選択します。

  4. プロンプトが表示されたら、リポジトリの名前を入力し、削除を確認してください。

gcloud

コマンドラインから以下を呼び出します。

gcloud init
gcloud source repos delete [REPOSITORY_NAME]

レスポンスは次のようになります。

If [REPOSITORY_NAME] is deleted, the name cannot be reused for up to
seven days.

Delete "[REPOSITORY_NAME]" in project "gcloud-test" (Y/n)?  y

Deleted [REPOSITORY_NAME].