TortoiseGit覆盖图标为红色,但所有文件均已提交 [英] TortoiseGit overlay icon is red but all files are commited

查看:765
本文介绍了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 2.5.0起,图标叠加层区分大小写.如果您确实要更改此默认设置,则可以禁用高级设置"OverlaysCaseSensitive".但是,这不是默认值,也不建议使用,因为某些git工具(例如"git log")在路径上区分大小写,并且可能显示不完整的历史记录.

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覆盖图标为红色,但所有文件均已提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆