TortoiseGit modified sign (icon overlay) is not updating

前端 未结 15 2143
我在风中等你
我在风中等你 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:56

    None of the other options here could make the problem go away. (I wasn't able to identify any file that had a change in casing) I was pretty confident that everything was checked in as it should be so I just deleted my repo and checked it out again. Poof, works again.

    If you're not as confident (or you just don't want to risk it, as is best), rename your repo folder lcoally and check out your repo again, then you can pull a diff to see if anything odd is missing/changed between the two repo folders.

    0 讨论(0)
  • 2021-01-30 08:59

    Please check your path to see if it matches in case.

    Some/Dir/SomeFile.ext
    

    is the same to windows as

    some/DIR/someFILE.EXT
    

    But to Git they are in different locations. This is remedied by navigating back from the top with the proper casing.

    0 讨论(0)
  • 2021-01-30 09:00

    Not sure if this is relevant.

    Looks like TortoiseGit has cache issues with file/folder cases.

    In my case since the folder case was not correct with the once expected, the icons' overlay were not showing up

    0 讨论(0)
提交回复
热议问题