当前位置:   article > 正文

【git】鼠标右键菜单添加git选项_git 设置鼠标右键提交

git 设置鼠标右键提交

1.打开系统注册表,使用组合键“Win + R”输入“regedit

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

2.接着定位到“[HKEY_CLASSES_ROOT\Directory\Background]”目录下

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

3.在[Background]下找到“shell”如果没有则新建项shell,接着在“shell”下右键-新建项名字为“open in Git”并且修改默认值为“Git Bash Here”这个就是右键菜单显示的名字

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

4.接着在“open in Git”下新建“字符串值”,下图截图位置错了,截成shell下了,抱歉,名字为“Icon”值为git安装目录下mingw64\share\git\的ico图标。

这一步其实就是设置右键菜单显示的小图标

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

5.接着在“open in Git”新建项“command”,并且默认值数值数据里修改git安装目录的“git-bash.exe”路径

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

6.接着就设置完成,保存设置,在右键菜单就可以看到效果了

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L29xcUh1bjEyMw==,size_16,color_FFFFFF,t_70

 

转载于:https://jingyan.baidu.com/article/86fae34618ab313c49121a34.html

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/885736
推荐阅读
相关标签
  

闽ICP备14008679号