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

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

问题描述

我刚刚安装了 GitWindows®,并使用SSH通过Cygwin创建了我的SSH密钥。它似乎是从命令行和Git的Windows GUI,但现在我想使用TortoiseGit。 TortoiseGit默认使用类似于Putty的SSH客户端,但显然GitHub只接受(开放)SSH,我真的不知道如何继续。我会做一个干净的TortoiseGit安装,我已经安装了Cygwin和Git for Windows。

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 - > / em>,然后将ssh.exe更改为tortoiseplink.exe。从那时起,如果你也有运行,push / pull应该使用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天全站免登陆