Git右键打开窗口失败的问题

60 阅读1分钟

image.png

  • 可以看见我这里图标都已经变了,点击打不开 没反应,因为我是手动把git的目录换了,导致找不到。
  1. win + r 输入 regedit 打开注册表编辑器

image.png

  1. 找到 此目录
  • HKEY_CLASSES_ROOT\Directory\Background\shell

image.png

  • 修改这四个的路径,换成对应你现在git在的目录即可。

git_gui
git_shell
git_gui\command
git_shell\command

image.png

测试下

image.png

image.png

完美!!!