在右键菜单中添加Git Bash Here

安装Git后一般右键菜单都会有“Git Bash Here”选项,如果没有可以按下面方法添加

1.进入注册表找到HKEY_CLASSES_ROOT\Directory\Background\shell,没有shell就新建一个

 

 

2.在shell下面右键新建项名称为Git,在其默认值中输入“Git Bash Here”

 

 3.在Git下新建项,名称为command,在其默认值中输入“ Git安装目录\git-bash.exe”

 

 

4.在Git Bash Here 设置一个icon图标,在Git下右键新建字符串Icon输入值 “Git安装目录\mingw64\share\git\git-for-windows.ico”

 

 

参考 https://blog.csdn.net/johnnymartin/article/details/80802425

 

posted on 2020-05-27 13:50  lovezj9012  阅读(356)  评论(0编辑  收藏  举报

导航