Menghapus repositori

Untuk menghapus repositori dari Cloud Source Repositories:

console

  1. Buka tampilan sumber di Google Cloud console:

    Membuka Tampilan Sumber di Konsol

  2. Klik tombol Lainnya Tombol More di samping repositori yang ingin dihapus.

    Tombol Create Repository

  3. Pilih Hapus.

  4. Masukkan nama repositori saat diminta, lalu konfirmasi penghapusan.

gcloud

Dari command line, panggil:

gcloud init
gcloud source repos delete [REPOSITORY_NAME]

Respons akan terlihat seperti ini:

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].