无法使用Git over HTTP进行克隆

uye*_*tch 8 git version-control proxy kde http

我支持不允许使用git://的代理.所以我需要使用git over http结帐.为此,我已经在git中设置了我的代理,

git config --global http.proxy http://172.30.0.16:3128
Run Code Online (Sandbox Code Playgroud)

但是,我只能克隆一些repos,而在其他一些我得到一个错误.例如:

git clone http://github.com/jcnetdev/yubnub.git
Run Code Online (Sandbox Code Playgroud)

工作完美,同时

https://github.com/ferhatelmas/InterviewStreet.git
Run Code Online (Sandbox Code Playgroud)

这将返回以下错误

Cloning into InterviewStreet...
warning: remote HEAD refers to nonexistent ref, unable to checkout.
Run Code Online (Sandbox Code Playgroud)

在运行时 git clone http://anongit.kde.org/calligra我收到以下错误

Cloning into calligra...
error: The requested URL returned error: 502 while accessing http://anongit.kde.org/calligra/info/refs
Run Code Online (Sandbox Code Playgroud)

你能帮我么.

uye*_*tch -1

我发现问题出在 KDE git 托管上,它只支持部分 HTTP。

  • 那么解决办法是什么呢? (6认同)