码迷,mamicode.com
首页 > 其他好文 > 详细

手动添加git到目录右键菜单

时间:2017-06-16 10:04:08      阅读:574      评论:0      收藏:0      [点我收藏+]

标签:显示名称   str   and   base   shell   git   ase   roo   编辑   

 

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

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

    3、在[Background]下如果没有[shell],则右键-新建项[shell]。

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

    5、在[shell]下右键-新建-字符串值[Icon],双击编辑,其值为“C:\Program Files\Git\mingw64\share\git\git-for-windows.ico”。此为菜单加图标。

    6、在[Git Bash]下右键-新建-项[command],其值为 "C:\Program Files\Git\git-bash.exe"

  7、同理可以建立Git Gui的右键菜单, Git Gui在C:\Program Files\Git\cmd\git-gui.exe路径下。

手动添加git到目录右键菜单

标签:显示名称   str   and   base   shell   git   ase   roo   编辑   

原文地址:http://www.cnblogs.com/leakeyash/p/7022860.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!