比如,在我的远程github官网目录有个仓库,countdown,我想删除它。能在本地通过git命令删除吗?
zcoder已经说的很详细了。
项目页右侧 点击右下角的 settings 跳转页面
你用git
连本地仓库都不能删除,更别提GitHub上的远程仓库了……
用GitHub API,或者到网站上删。
进入项目主页
url
https://github.com/xxxxx/xxxxx
- 点击右侧的
settings
, - 在最下面有个
delete this repository
按钮, - 点击删除即可。
本地应该不能删除,这个要调用 Github API 的。
有一篇官方文档:deleting-a-repository