我想通过Git Bash删除远程git存储库。我知道我可以通过GitHub删除它;不过,我想通过命令行学习如何做到这一点。我不只是想删除它中的文件,或者替换它,我想彻底删除它。我花了两天时间浏览论坛,文章,博客和教程,没有任何工作。如何从命令行(Git Bash)删除远程Git存储库?
一些初步信息:
$ git remote -v
thisbranch https://github.com/thisuser/test-repo.git (fetch)
thisbranch https://github.com/thisuser/test-repo.git (push)
$ git status
On branch master
nothing to commit, working directory clean
$ git log
Author: *info*
Date: *info*
adding a new file
Author: *info*
Date: *info*
Initial commit
$ git remote -v show thisbranch
* remote thisbranch
Fetch URL: https://github.com/thisuser/test-repo.git
Push URL: https://github.com/thisuser/test-repo.git
HEAD branch: master
Remote branch:
master tracked
Local ref configured for 'git push':
master pushes to master (up to date)
有些事情我想:
$ git remote remove https://github.com/thisuser/test-repo.git
error: Could not remove config section 'remote.https://github.com/thisuser/test-repo.git'
$ git remote remove master
error: Could not remove config section 'remote.master'
$ git remote remove thisbranch
*returns nothing*
$ git remote -v
*returns nothing*
我已经意识到我还从来没有得到返回的名称 '出身'。
这是无法完成的。 – BrokenBinary 2015-01-09 20:27:25