GIT 右键Git Bash Here菜单消失的问题

右键Git Bash Here菜单消失

 

解决:

win + r 输入regedit回车进入注册表

找到目录 HKEY_CLASSES_ROOT\Directory\Background\shell

在 shell 目录下新建项

右键shell  -->  新建  -->  项 命名为GitBashHere (可自定义)

右键GitBashHere  --> 新建 --> 字符串  命名为Icon  将其值修改为 Git Bash Here 图标的路径 

 

右键shell  -->  新建  -->  项 命名为Command

右键Command --> 新建 --> 字符串  将其值修改为程序的路径

 

 

这个时候右键 Git Bash Here 的菜单就出来了

 

posted @ 2021-05-14 09:39  _whys  阅读(701)  评论(0编辑  收藏  举报