我有msysGit(Windows上的Git)在我的家用机器上正常工作,但在工作中,我们在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)
Run Code Online (Sandbox Code Playgroud)
我已经尝试将http_proxy环境变量设置为:
http://our-proxy-server:8088
Run Code Online (Sandbox Code Playgroud)
我已经设置了git http.proxy配置指令:
git config --global http.proxy http://our-proxy-server:8088
Run Code Online (Sandbox Code Playgroud)
以上两者都没有区别.
用git克隆http://而不是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
Run Code Online (Sandbox Code Playgroud)
407当然是认证错误.
所以我的问题是:有没有人设法让git从代理后面工作,特别是ISA代理?我不知道是否值得追求这个.任何帮助非常感谢.
谢谢!