您的位置:首页 > 运维架构 > Shell

右键中添加Git Bash Here菜单

2017-07-13 15:52 489 查看
转自:右键 - 添加Git Bash Here菜单

1、通过在“运行”中输入‘regedit’,打开注册表。
2、找到[HKEY_CLASSES_ROOT\Directory\Background]。
3、在[Background]下如果没有[shell],则右键-新建项[shell]。
4、在[shell]下右键-新建项[open in Git],其值为“git Bash Here",此为右键菜单显示名称。
5、在[open in Git]下右键-新建-字符串值[Icon],双击编辑,其值为“D:\Tools\VersonCtrs\Git\Git\mingw64\share\git\git-for-windows.ico”。此为菜单加图标。
6、在[open in git]下右键-新建-项[command],其值为"D:\Tools\VersonCtrs\Git\Git\bin\bash.exe" --login -i。




内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: