windows下重建git右键菜单及图标的方式
新建注册表reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\git_gui]
@="Open Git &GUI here"
"Icon"="D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\cmd\\git-gui.exe"
[HKEY_CLASSES_ROOT\Directory\shell\git_gui\command]
@="\"D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\cmd\\git-gui.exe\" \"--working-dir\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\git_shell]
@="Open Git Ba&sh here"
"Icon"="D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\git-bash.exe"
[HKEY_CLASSES_ROOT\Directory\shell\git_shell\command]
@="\"D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\git-bash.exe\" \"--cd=%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_gui]
@="Open Git &GUI here"
"Icon"="D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\cmd\\git-gui.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_gui\command]
@="\"D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\cmd\\git-gui.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell]
@="Open Git Ba&sh here"
"Icon"="D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\git-bash.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\command]
@="\"D:\\DevelopmentEnvironment\\DebugSoftware\\Git\\git-bash.exe\""