如何在git中删除本地存储库? [英] How do I delete a local repository in git?
本文介绍了如何在git中删除本地存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找不到命令。我尝试使用谷歌搜索git删除一个存储库'。
I can't find the command. I tried Googling "git 'delete a repository'".
推荐答案
删除 .git $如果你只想删除与git相关的信息(分支,版本),那么你的仓库根目录下的c $ c>目录。
如果你想删除一切(git数据,代码等),只需删除整个目录。
If you want to delete everything (git-data, code, etc), just delete the whole directory.
这篇关于如何在git中删除本地存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文