How to fully delete a git repository created with init?

前端 未结 13 1970
再見小時候
再見小時候 2020-11-22 16:42

I created a git repository with git init. I\'d like to delete it entirely and init a new one.

13条回答
  •  孤街浪徒
    2020-11-22 17:17

    No worries, Agreed with the above answers:

    But for Private project, please follow the steps for Gitlab:

    1. Login to your account
    2. Click on Settings -> General
    3. Select your Repository (that you wants to delete)
    4. Click on 'Advanced' on the bottom-most
    5. Click on 'Remove Project'
    6. You will be asked to type your project name

      This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention. Please type 'sample_project' to proceed or close this modal to cancel.

    7. Now your project is deleted successfully.

提交回复
热议问题