TortoiseGit 覆盖图标为红色但所有文件均已提交

TortoiseGit overlay icon is red but all files are commited

我提交了我所有的文件,我在 TortoiseGit 中的提交列表是空的,但我的一些文件夹是红色的。

有没有人遇到过这个问题?

有可能某些文件只是为了以防万一才更改了名称。

正常的 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.