[英]Deleted “.git” folder manually but still its reflecting as a Working directory
I want to uninitialized the working git
directory so I manually deleted the .git
folder. 我想未初始化工作的
git
目录,所以我手动删除了.git
文件夹。 But still if I go to my Project folder through git bash
It's reflects as 但是仍然如果我通过
git bash
转到我的Project文件夹,它反映为
Eclipse
(My Project)as a Master and see in the list there is no .git
folder present. Eclipse
(我的项目)作为主文件,在列表中看到没有.git
文件夹。
If I do git Status then it shows this 如果我执行git Status则显示此信息
Search in git rev-parse --show-toplevel
for git configuration files. 在
git rev-parse --show-toplevel
搜索git配置文件。 Or even better, what is the output of git rev-parse --git-dir
? 甚至更好,
git rev-parse --git-dir
的输出是什么?
EDIT : It seems my rhetorical question is a bit controversial. 编辑 :看来我的修辞问题有点争议。 What
git rev-parse --git-dir
does is to show where the git configuration directory is, which I think is what he wants to know. git rev-parse --git-dir
作用是显示git配置目录在哪里,我认为这是他想知道的。 That command will probably point to a parent directory of course. 该命令可能会指向父目录。 I do not understand why some people think this answer is not useful and down-vote it...
我不明白为什么有些人认为这个答案没有用,所以不赞成投票。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.