赞
踩
step1:Win+R 打开运行输入regedit 回车打开注册表
step2:找到[HKEY_CLASSES_ROOT\Directory\Background]。
step3:在[Background]下如果没有[shell],则右键-新建项[shell]。
step4:在[shell]下右键-新建项[Git Bash Here],其值为“Git Bash Here",此为右键菜单显示名称。
此时在任意位置鼠标右键就能看到Git Bash Here ,但是没有关联程序,现在还没有实际作用。
step5: 在[Git Bash Here]下右键-新建-项[command],其默认值为 "git安装根目录\bin\bash.exe --login i"
ste6:再完善一下添加一个Git的小图标:选中Git Bash Here右击-新建-字符串值,名称为Icon,双击编辑,其值为“git安装根目录\\mingw64\share\git\git-for-windows.ico”。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。