Git------解决右键不显示Git Bash Here问题

步骤:

1.通过在“运行”中输入‘regedit’,打开注册表。

2.找到[HKEY_CLASSES_ROOT\Directory\Background]。

3.在[shell]下右键-新建项[open in git],其值为“Git Bash Here",此为右键菜单显示名称。

4.在[shell]下右键-新建-字符串值[Icon],双击编辑,其值为“E:\git\Git\mingw64\share\git\git-for-windows.ico”。此为菜单加图标。(注意双引号)

5.在[open in git]下右键-新建-项[command],其值为"E:\git\Git\bin\bash.exe" --login -i。

6.关闭注册表编辑器,再点击鼠标右键即可

转载:https://blog.csdn.net/u014527912/article/details/51723735

猜你喜欢

转载自www.cnblogs.com/tianhengblogs/p/9142691.html