相关疑难解决方法(0)

Git,删除存储库

我有点搞砸了我的远程节点的文件系统.我正在做一个项目,远程仓库由我的导师初始化.我克隆了它,然后从我的主目录推送更新.

我现在想要删除我在远程服务器中克隆的repo.我想重新开始.

如何删除之前克隆的存储库?

git

10
推荐指数
3
解决办法
4万
查看次数

如何从命令行(Git Bash)删除远程Git存储库?

我正在尝试通过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)

我试过的一些事情: …

git github repository

9
推荐指数
2
解决办法
9907
查看次数

标签 统计

git ×2

github ×1

repository ×1