电脑添加了一块硬盘,原来git按照路径由D盘换到了E盘,

右键菜单执行git bash命令报找不到应用程序,搜了几个帖子发现按照修改都不行(均少了一步),特记录下处理方法,

主要3大步,

1.按win+r,输入regedit打开注册表,然后分别修改4个位置路径由d盘改为e盘,

2.修改如下四处路径

HKEY_CLASSES_ROOT\Directory\shell\git_gui

HKEY_CLASSES_ROOT\Directory\shell\git_gui\command

HKEY_CLASSES_ROOT\Directory\shell\git_shell

HKEY_CLASSES_ROOT\Directory\shell\git_shell\command

3.修改如下四处路径

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui\command

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell\command

相关文章:

  • 2021-12-04
  • 2021-12-14
  • 2021-12-31
  • 2022-03-06
  • 2021-09-13
  • 2022-12-23
  • 2022-01-05
  • 2021-06-12
猜你喜欢
  • 2021-11-20
  • 2021-09-14
  • 2021-07-12
  • 2021-10-28
  • 2021-10-13
  • 2021-07-03
相关资源
相似解决方案