我有点搞砸了我的远程节点的文件系统.我正在做一个项目,远程仓库由我的导师初始化.我克隆了它,然后从我的主目录推送更新.
我现在想要删除我在远程服务器中克隆的repo.我想重新开始.
如何删除之前克隆的存储库?
我正在尝试通过Git Bash删除远程git存储库.我知道我可以通过GitHub删除它; 但是,我想通过命令行学习如何这样做.我不只是想删除它中的文件,或者替换它,我想完全删除它.我花了最后两天筛选论坛,文章,博客和教程,但没有任何工作.
一些初始信息:
$ 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)
Run Code Online (Sandbox Code Playgroud)
我试过的一些事情: …