如何将git bash添加到已安装的TortoiseGit中

4

我已经安装了TortoiseGit,但是我没有Git Bash选项,有人可以建议我如何安装吗?


你不能重新安装TortoiseGit吗? - redhotvengeance
3
如果你已经安装了TortoiseGit,那么你也应该已经安装了msysGit(因为它是一个先决条件),它带有一个git bash。在开始菜单中查找启动它的快捷方式即可。 - adrianbanks
您可能需要将您的密钥复制到 git-bash 可识别的位置:http://serverfault.com/questions/194567/how-do-i-tell-git-for-windows-where-to-find-my-private-rsa-key。 - BlueRaja - Danny Pflughoeft
你确定你没有安装它吗?看一下这个链接:https://dev59.com/SGoy5IYBdhLWcg3wguSS - Fredrik
2个回答

0

重新安装Windows版Git,并启用Git Bash Here,请参见:

enter image description here

然后,在文件夹中右键单击时,将会出现上下文菜单项 Git Bash Here,如下所示:

enter image description here


或者您可以使用开始菜单中的那个,如下所示:

enter image description here


“Git Bash Here”选项不仅是一个在Windows上右键菜单中打开Bash终端的选项,而不是实际的Bash可执行文件,对吗? - Fredrik
是的,打开Bash终端。我已经更新了我的答案。 - Yue Lin Ho

0

直接前往http://git-scm.com/downloads下载Git bash即可,但如果您使用密钥而非用户ID密码,则可能需要重新配置。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接