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 here? I have not seen this issue before.
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
The thing that solved this issue for us was that we had moved our Git repos to a mapped network drive, thus changing the drive letter.
It seems that TortoiseGit needs to be set to monitor network drives - it is not the default behaviour.
So to solve this issue you would:
Job done.
This might help... My drive letter was B: and the overlay icons would not update. I changed it to beyond C:, (I used M:) and it started working. Looks like TGIT does not drives below C:
I think this issue happened for me to due to applications competing for Windows limit icon overlays (I believe it allows a maximum of 15).
This is what I had to do to resolve this issue:
regedit
and browse to theComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers
key.See also: TortoiseGit not showing icon overlays
After getting astonished by this and trying pretty much everything, I managed to get it fixed by simply deleting one single file from the directory marked as modified, then reverting it from the TortoiseGit menu itself.
P.S. I made sure the CRC64 checksum for the entire directory was identical before and after this operation.
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.
What helped for me was the following: