[Difficult Problems] Solve the problem that the git folder does not display green icons and red icons

Table of contents

1. Problem description

2. Prerequisites for problem solving

【2.1】First ensure that the software TortoiseGit is available on the computer.

【2.2】TortoiseGit download official website

【2.3】Download according to the number of bits of your computer. The download here is 64-bit.

【2.4】After downloading, go to next to install and configure your own email and user name.

[2.5] Right-click on a blank space on the desktop. If these three options appear, it means TortoiseGit is successfully installed.

3. Problem solving

【3.1】Win + r to open the run window and enter regedit.exe

【3.2】Find in order according to the hierarchical relationship of the files

【3.3】Find in order according to the hierarchical relationship of the files

【3.4】Restart the resource manager


1. Problem description

        After installing git, the managed files do not have green icons or red icons.

2. Prerequisites for problem solving

【2.1】First ensure that the software TortoiseGit is available on the computer.

        If not, download one first! ! !

【2.2】TortoiseGit download official website

        Go to the TortoiseGit official website: TortoiseGit – Windows Shell Interface to Git and click download.

【2.3】Download according to the number of bits of your computer. The download here is 64-bit.

【2.4】After downloading, go to next to install and configure your own email and user name.

        By default, everyone knows it. If you don’t know it, go to a certain website to find some related videos to learn!

[2.5] Right-click on a blank space on the desktop. If these three options appear, it means TortoiseGit is successfully installed.

3. Problem solving

【3.1】Win + r to open the run window and enter regedit.exe

【3.2】Find in order according to the hierarchical relationship of the files

Find the following paths in turn

        If there is no Max Cached Icons option in the folder, that is, there is no Max Cached Icons option on the right side, create a new Max Cached Icons option with a value of 2000.

HKEY_LOCAL_MACHINE\Software\Microsoft\windows\CurrentVersion\Explorer

【3.3】Find in order according to the hierarchical relationship of the files

        By renaming and adding a space in front of the file name, bring all Tortoise-related items to the front. Both methods in the figure below are acceptable.

HKEY_LOCAL_MACHINE–>SOFTWARE–>Microsoft–>Windows–>CurrentVersion–>Explorer–>ShellIconOverlayIdentifiers

【3.4】Restart the resource manager

        Check the git warehouse folder again, and the logo will appear.

Guess you like

Origin blog.csdn.net/lx473774000/article/details/132769672