Git 拉分支无法连接错误
我希望有人能帮我一把,指出我在github上的错误。我已经将我的分支克隆到了我的机器上,我正试图从github上另一个用户的分支获取Git 拉分支无法连接错误,git,github,Git,Github,我希望有人能帮我一把,指出我在github上的错误。我已经将我的分支克隆到了我的机器上,我正试图从github上另一个用户的分支获取 >git remote add rally25rs git://github.com/rally25rs/SubSonic-3.0.git >git fetch rally25rs master github.com[0: 207.97.227.239]: errorno=No error fatal: unable to connect a soc
>git remote add rally25rs git://github.com/rally25rs/SubSonic-3.0.git
>git fetch rally25rs master
github.com[0: 207.97.227.239]: errorno=No error
fatal: unable to connect a socket (No error)
据我所知,这是正确的程序 您使用了错误的语法
git remote add rally25rs git://github.com:rally25rs/SubSonic-3.0.git
这就是你想要的。注意:在github.com之后,您在github上有ssh密钥吗?值得一提的是,我刚刚能够使用该URL克隆repo。Eimantas,我确实有。我以前把它搞砸了,但我收到了一条不同的错误消息。您的命令(
git remote add…&&git fetch…
)在一个空的、新初始化的repo中为我工作(mkdir foo&&cd foo&&git init
)。您的操作系统、操作系统版本和Git版本是什么?此错误表示connect(2)返回<0,但未将errno设置为有用值。Windows 7和git 1.6.5.1.1367.gcd48