How to delete remote repository on github?

后端 未结 6 1583
暖寄归人
暖寄归人 2020-12-13 16:58

I want to know how to delete repo in github account. I cannot see any indicators to delete on github interface.

相关标签:
6条回答
  • 2020-12-13 17:37

    You can go to the main page of the repository and under your repository name, click "Settings"...

    Repo Settings tab

    ...and scroll down to the "Danger Zone"

    The Danger Zone

    0 讨论(0)
  • 2020-12-13 17:39

    1.Navigate to Your Repository

    2.click on Settings (under deleted repository)

    3.scroll down to the end of the page, got to "Danger zone" Section

    4.click on DELETE THIS REPOSITORY

    5.Re-enter the repository name for confirmation.

    6.delete

    0 讨论(0)
  • 2020-12-13 17:48

    Go to the settings page of your repo and the bottom you can find the "Delete this repository" button under the Danger Zone area. Enter your repository name to confirm the deletion and click "I understand the consequences, delete this repository" to confirm the operation. The url will endup like below if you visit the settings page of you repository,

    https://github.com/GITHUB_USERNAME/REPOSITORY_NAME/settings
    

    For example, if your name is john and have a repository named "sample_john" the url would look like this,

    https://github.com/john/sample_john/settings
    

    Warning: Doing the above operation will permanently delete your repository, wiki, issues, and comments, and remove all collaborator associations.

    0 讨论(0)
  • 2020-12-13 17:56

    You might also want to delete repo from your .git/config file

    git remote rm “alias or origin” 
    

    Hope this helps

    0 讨论(0)
  • 2020-12-13 17:56

    Adding and Remove your remote repository from git hub:

    git remote add origin https://github.com/saikumarputta/TodoApi.git

    git remote remove origin

    0 讨论(0)
  • 2020-12-13 18:00

    you can use following shell command tools to delete remote repository on github https://github.com/dfyfhqsfly/github-delete-reponsities.git

    0 讨论(0)
提交回复
热议问题