我有msysGit(Git在Windows上)在我的家用机器上工作得很好,但在工作中,我们在Microsoft ISA代理后面,我得到以下错误,当我做混帐克隆:Git错误:致命:无法连接套接字(无效参数)
H:\>git clone git://github.com/akitaonrails/vimfiles.git
Initialized empty Git repository in H:/vimfiles/.git/
github.com[0: 65.74.177.129]: errno=Invalid argument
fatal: unable to connect a socket (Invalid argument)
我已经尝试设置环境变量http_proxy到:
http://our-proxy-server:8088
我设置git的http.proxy配置指令:
git config --global http.proxy http://our-proxy-server:8088
以上都没有影响。
否则与http://
代替git://
一个git克隆产生这样的:
H:\>git clone http://github.com/akitaonrails/vimfiles.git
Initialized empty Git repository in H:/vimfiles/.git/
fatal: http://github.com/akitaonrails/vimfiles.git/info/refs download error - The requested URL returned error: 407
407当然是一个验证错误。
所以我的问题是:有没有人设法让git从代理后面工作,特别是ISA代理?我不知道这是否值得追求。非常感谢任何帮助。
谢谢!
只是增加了一个可能的解决 – VonC 2009-01-30 18:26:59
感谢您的反馈。我认为你现在有一个Git1.6.4? – VonC 2009-09-11 18:23:37