开发者

TortoiseGit shows clean directory as conflicted

开发者 https://www.devze.com 2023-04-08 05:50 出处:网络
I have a git repository that I\'m working on which I am using Torto开发者_JAVA百科iseGit to manage in Windows.Show modifications and diff show that there are no differences between working directory a

I have a git repository that I'm working on which I am using Torto开发者_JAVA百科iseGit to manage in Windows. Show modifications and diff show that there are no differences between working directory and head. However, a little red X shows up over one of my folders.

Is there a way to reset the status of TortoiseGit? Are there differences I can't see?


Assuming it's not a bug in Tortoise Git--I don't use it, so I don't know much about it--it depends what happened most recently. I think the most likely situation is that you ran into a merge conflict during a rebase and forgot to finish the rebase. If that's the case, you need to complete the rebase one way or another: git rebase --abort or git rebase --continue. A git status will give you a clue. If it shows that you're not on a branch, but you expect to be, then you're probably in the middle of a rebase.

Edit: This guy claims it's a problem with the TortoiseGit cache in Windows. Try killing the TGitCache.exe process and restarting explorer. I remember a problem like this in TortoiseSVN back in the day...


Close all Explorer windows (directory windows)

Open Process explorer: Sort by name. Find TGitCache.exe. Click on it and press the END PROCESS button.

Reopen the explorer and voilla.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号