• 欢迎光临~

手动添加git到 右键菜单

开发技术 开发技术 2022-08-30 次浏览
1、通过在“运行”中输入‘regedit’,打开注册表。

2、找到[HKEY_CLASSES_ROOTDirectoryBackground]。

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

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

5、在[open in git]下右键-新建-字符串值[Icon],双击编辑,其值为“D:devGitmingw64sharegitgit-for-windows.ico”。此为菜单加图标。

6、在[open in git]下右键-新建-项[command],其值为 "D:devGitgit-bash.exe"

 

程序员灯塔
转载请注明原文链接:手动添加git到 右键菜单
喜欢 (0)