win11 git右键菜单消失
win+r
打开注册表输入register
- 找到shell文件夹
HKEY_CLASSES_ROOT\Directory\Background\shell
- shell目录下右击新建
Git Bash Here
项;Git Bash Here
下新建Command
项 【 图1】 Git Bash Here\Command
项中 双击默认
修改默认值为
"D:\Program Files\Git\git-bash.exe" "--cd=%v."
Git Bash Here\Command
项中 右击新建Icon
字符串值 双击添加数据值为
D:\Program Files\Git\mingw64\share\git\git-for-<