首页 > git不显示文件状态图标

git不显示文件状态图标

win7,pull来的代码就是不显示对勾那个图标,公司电脑就没这问题,求高人指点,多谢了。

使用git for windows 的命令行工具git bash来操作。


Windows下文件和文件夹最多显示15个overlay图标,很有可能是安装了git,Dropbox,SVN等多个工具,这些工具都有各自的overlay icon,使得总图标数目大于15,导致了git的overlay icon没有被正常显示。

解决方案:

  1. 打开regedit注册表,Computer \ HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ ShellIconOverlayIdentifiers

  2. 备份这部分注册表(重要!)

  3. 把你不想要的overlay icon移除或者重命名git的相关icon让其排列在前15

  4. 重启Windows explorer

参考文献 :

http://blog.garethjmsaunders.co.uk/2015/03/22/managing-overlay-icons-for-dropbox-and-tortoisesvn-and-tortoisegit/

【热门文章】
【热门文章】