TortoiseGit modified sign (icon overlay) is not updating

前端 未结 15 2141
我在风中等你
我在风中等你 2021-01-30 08:29

I have made a small change in some code but TortoiseGit shows it as modified (red exclamation sign) although I have committed, pulled, pushed, but it stays. What should I do her

15条回答
  •  一生所求
    2021-01-30 08:33

    I had the same issue at Windows.

    Killing TGitCache did work for a couple of seconds but the red icon appeared again.

    It turned out the file was renamed (first letter was changed from uppercase to lower case) locally but was not changed in Git. Windows is case insensitive but Git is! So the icon overlay did not match anymore. I did find this out by removing the specific file and selecting "revert" from the Turtoise Git context menu. In the list, two files did show up, one with first letter uppercase, the other complete lowercase.

    Finally renaming the file from the Git context menu did resolve the issue for me.

提交回复
热议问题