美文网首页
Git 右键添加Git Bash

Git 右键添加Git Bash

作者: 兰觅 | 来源:发表于2021-12-07 17:18 被阅读0次

简介问题
安装PortableGit后右击没有显示快捷方式
安装目录如下

图1

一.在注册表中添加右键快捷方式

1.打开运行栏:win+R键,输入:regedit

图2
2.找到该目录下:\HKEY_CLASSES_ROOT\Directory\Background\shell
查看shell下是否有git目录,没有则新建open in Git
编辑默认字符串:Git Bash Here
图3

新建一个字符串值:icon
数值数据为安装路径:\Git\mingw64\share\git\git-for-windows.ico

图4
复制路径粘贴到字符串中
图5
效果如下:
图5
2.新建项
open in git下右键新建-项command
编辑值为:
"E:\Program Files (x86)\git\PortableGit\bin\bash.exe" --login -i
图6

完成后右击就可以查看咯!!!!

相关文章

  • Git 右键添加Git Bash

    简介问题安装PortableGit后右击没有显示快捷方式安装目录如下 一.在注册表中添加右键快捷方式 1.打开运行...

  • git bash中文乱码问题解决

    修改git bash text编码打开git bash ->右键 Options ->Text(选择Locale为...

  • windows右键添加git bash

    1.cmd 输入 regedit,打开注册表 2.找到 HKEY_CLASSES_ROOT \ Director...

  • windows下git bash中文乱码问题

    方法一: git bash右键设置支持中文字符 在git bash窗口最上方点“右键”再选择“option”选择“...

  • git

    本地生成ssh key D:\Project\git 右键->git bash here-> git config...

  • git知识

    windows用户请下载 下载git在本地仓库里右键选择Git Init Here效果如同右键Git Bash进入...

  • [20180208]Git Bash 中文字符异常解决

    1. Git Bash 不能输入中文 解决方法: 打开git bash, 在窗口处右键 -> Options; 在...

  • 本地清除GIT版本信息

    右键打开 git bash here 执行命令 find . -name".git"| xargs rm -rf ...

  • git冲突解决

    windows下右键打开git bash here输入以下命令 1、git stash 创建本地快照 2、git ...

  • .gitignore的使用

    1:在目标工程目录下右键git bash,touch.gitignore 2:在.gitignore文件中添加想要...

网友评论

      本文标题:Git 右键添加Git Bash

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