简体   繁体   中英

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. But still if I go to my Project folder through git bash It's reflects as 在此处输入图片说明 Eclipse (My Project)as a Master and see in the list there is no .git folder present.

If I do git Status then it shows this 在此处输入图片说明

Search in git rev-parse --show-toplevel for git configuration files. Or even better, what is the output of 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. 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...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM