如何安装/设置 TortoiseGit 以使用 GitHub [英] How to install/setup TortoiseGit to work with GitHub

查看:23
本文介绍了如何安装/设置 TortoiseGit 以使用 GitHub的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Git For Windows,并通过 Cygwin 使用 SSH 创建了我的 SSH 密钥.它似乎在命令行和 Git For Windows GUI 中工作,但现在我想使用 TortoiseGit.TortoiseGit 默认使用类似 Putty 的 SSH 客户端,但显然 GitHub 只接受(开放)SSH,我真的不知道如何进行.我将进行干净的 TortoiseGit 安装,我已经安装了适用于 Windows 的 Cygwin 和 Git.

I have just installed Git For Windows, and created my SSH key using SSH through Cygwin. It seems to be working from command-line and the Git For Windows GUI, but now I want to use TortoiseGit. TortoiseGit uses a Putty-like SSH client by default but apparently GitHub only accepts (open)SSH, and I don't really know how to proceed. I will be doing a clean TortoiseGit install, I already have Cygwin and Git for Windows installed.

推荐答案

对于希望更改现有 TortoiseGit 安装以使用 PuTTY 而不是 OpenSSH,只需右键单击,-> TortoiseGit -> Settings -> Network,然后将ssh.exe"更改为tortoiseplink.exe".从那时起,执行推/拉应该使用 Pageant(以及您在其中设置的任何键),如果您也运行它.

For anyone looking to change an existing TortoiseGit installation to use PuTTY rather than OpenSSH, simply right-click, -> TortoiseGit -> Settings -> Network, then change 'ssh.exe' to 'tortoiseplink.exe'. From then on, doing a push/pull should be using Pageant (and any keys you have set up in there) if you also have that running.

这篇关于如何安装/设置 TortoiseGit 以使用 GitHub的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆