31

无法使用Git over HTTP进行克隆

 5 years ago
source link: https://codeday.me/bug/20190112/508500.html?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

git config --global http.proxy http://172.30.0.16:3128

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

例如:

git clone http://github.com/jcnetdev/yubnub.git

工作完美,同时

https://github.com/ferhatelmas/InterviewStreet.git

这会返回以下错误

Cloning into InterviewStreet...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

在跑步

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

你能帮我么.

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

翻译自:https://stackoverflow.com/questions/9204244/unable-to-clone-using-git-over-http


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK