本文介绍了TortoiseGit覆盖图标为红色,但所有文件均已提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已提交所有文件,并且TortoiseGit中的提交列表为空,但某些文件夹为红色.
I committed all of my files and my commit list in TortoiseGit is empty but some of my folders are red.
- 我从任务管理器中杀死了TGitCache.exe,但没有任何反应.
- 我重命名了文件夹(通过在文件夹名称的末尾添加一个数字)并恢复为主要名称,问题仍然存在.
- 最后,我做了此解决方法( https://stackoverflow.com/a/42757933/3428078 ),但是它对我不起作用.
- I killed TGitCache.exe from task manager, but nothing happened.
- I renamed my folder (by adding a number at the end of folder name) and reverting back to main name and problem still remains.
- And finally, I did this workaround (https://stackoverflow.com/a/42757933/3428078) but it did not work for me.
有人遇到过这个问题吗?
Has anyone ever encountered this problem?
推荐答案
某些文件可能仅以防万一更改其名称.
It is possible that some files changed their name only in case.
正常的git status
操作不会显示此内容(但是git本身是区分大小写的,即使在Windows上为core.ignorecase = true.)
Normal git status
operations don't show this (, but git itself is case sensitive even if core.ignorecase=true on Windows).
TortoiseGit的这种行为在2.5.0中已更改,请参见 https://tortoisegit. org/docs/releasenotes/#Release_2.5.0.0 :
This behavior of TortoiseGit changed in 2.5.0, see https://tortoisegit.org/docs/releasenotes/#Release_2.5.0.0:
这篇关于TortoiseGit覆盖图标为红色,但所有文件均已提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!