快速添加 git 至右键菜单 git免安装版添加右键菜单

新建text文件,复制以下代码
替换我这边文件路径D:\\System为自己的路径,其他一般都不变
然后保存,更改后缀名为reg,双击打开即可

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Directory\Background\shell\open in git]

[HKEY_CLASSES_ROOT\Directory\Background\shell\open in git]

@="Git Bash Here"

"icon"="D:\\System\\Git\\mingw64\\share\\git\\git-for-windows.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\open in git\command]

@="D:\\System\\Git\\git-bash.exe"

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章