美文网首页
右键菜单里没有 Git Bash Here 怎么办?

右键菜单里没有 Git Bash Here 怎么办?

作者: direwolf_ | 来源:发表于2019-06-28 15:16 被阅读0次
    1. Win + R 打开运行输入 regedit 回车打开注册表;
    1. 找到 [HKEY_CLASSES_ROOT\Directory\Background\shell];

    注:若没有 [shell] 则新建项 [shell]
    1. 右键 [shell] - 新建 - 项 [Git Bash Here],值为 “Git Bash Here"(此为右键菜单显示名称,若未设置则默认显示左侧该项的名字);
    1. 右键 [Git Bash Here] - 新建 - 项 [command],默认值为 "git 安装根目录\bin\bash.exe";
    1. 添加 Git 小图标:右键 [Git Bash Here] - 新建 - 字符串值,名称为 Icon,值为 “git 安装根目录\mingw64\share\git\git-for-windows.ico”。

    参考链接:https://blog.csdn.net/dyr_1203/article/details/83011526

    相关文章

      网友评论

          本文标题:右键菜单里没有 Git Bash Here 怎么办?

          本文链接:https://www.haomeiwen.com/subject/byascctx.html