How to delete remote repository on github?

2019-01-22 01:26发布

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

5条回答
劫难
2楼-- · 2019-01-22 01:34

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.

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-01-22 01:34

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

git remote rm “alias or origin” 

Hope this helps

查看更多
祖国的老花朵
4楼-- · 2019-01-22 01:35

Adding and Remove your remote repository from git hub:

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

git remote remove origin

查看更多
The star\"
5楼-- · 2019-01-22 01:43

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

查看更多
姐就是有狂的资本
6楼-- · 2019-01-22 01:47

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

查看更多
登录 后发表回答