How to delete remote repository on github?

泄露秘密 提交于 2019-11-28 18:32:28
Agustín

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

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

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.

Daviiid

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

git remote rm “alias or origin” 

Hope this helps

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

Adding and Remove your remote repository from git hub:

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

git remote remove origin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!