我有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