search

Home  >  Q&A  >  body text

git不显示文件状态图标

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

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

伊谢尔伦伊谢尔伦2801 days ago1185

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-21 11:18:04

    A maximum of 15 overlay icons are displayed for files and folders under Windows. It is very likely that multiple tools such as git, Dropbox, and SVN are installed. These tools have their own overlay icons, making the total number of icons greater than 15, resulting in git The overlay icon is not displayed properly.

    Solution:

    1. Open regedit registry, Computer HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Explorer ShellIconOverlayIdentifiers

    2. Back up this part of the registry (important!)

    3. Remove the overlay icon you don’t want or rename the git related icon so that it is ranked in the top 15

    4. Restart Windows explorer

    References:

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

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-21 11:18:04

    Is it resolved? I also encountered this problem. Use svn and git together in win10 system. svn works fine but git doesn't work.

    reply
    0
  • Cancelreply