TortoiseGit 覆盖图标为红色但所有文件均已提交
TortoiseGit overlay icon is red but all files are commited
我提交了我所有的文件,我在 TortoiseGit 中的提交列表是空的,但我的一些文件夹是红色的。
- 我从任务管理器中关闭了 TGitCache.exe,但没有任何反应。
- 我重命名了我的文件夹(通过在文件夹名称末尾添加一个数字)并恢复为主要名称,但问题仍然存在。
- 最后,我做了这个解决方法 (),但它对我不起作用。
有没有人遇到过这个问题?
有可能某些文件只是为了以防万一才更改了名称。
正常的 git status
操作不会显示此信息(但 git 本身区分大小写,即使 Windows 上的 core.ignorecase=true)。
TortoiseGit 的这种行为在 2.5.0 中发生了变化,参见 https://tortoisegit.org/docs/releasenotes/#Release_2.5.0.0:
Since TortoiseGit 2.5.0 the icon overlays are case sensitive. if you really want to change this default, you can disable the advanced setting "OverlaysCaseSensitive". This is, however, not the default and not recommended as some git tools such as "git log" are case sensitive on paths and might show an incomplete history.
我提交了我所有的文件,我在 TortoiseGit 中的提交列表是空的,但我的一些文件夹是红色的。
- 我从任务管理器中关闭了 TGitCache.exe,但没有任何反应。
- 我重命名了我的文件夹(通过在文件夹名称末尾添加一个数字)并恢复为主要名称,但问题仍然存在。
- 最后,我做了这个解决方法 (),但它对我不起作用。
有没有人遇到过这个问题?
有可能某些文件只是为了以防万一才更改了名称。
正常的 git status
操作不会显示此信息(但 git 本身区分大小写,即使 Windows 上的 core.ignorecase=true)。
TortoiseGit 的这种行为在 2.5.0 中发生了变化,参见 https://tortoisegit.org/docs/releasenotes/#Release_2.5.0.0:
Since TortoiseGit 2.5.0 the icon overlays are case sensitive. if you really want to change this default, you can disable the advanced setting "OverlaysCaseSensitive". This is, however, not the default and not recommended as some git tools such as "git log" are case sensitive on paths and might show an incomplete history.