문제

I am behind a proxy that does not allow the use of git://. So I need to checkout using git over http. For this, I have already set my proxy in git using,

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

However, I am able to clone only a few repos, while on others I am getting an error. For example:

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

works perfectly fine, while

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

this returns the following error

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

On running git clone http://anongit.kde.org/calligra I get the following error

Cloning into calligra...
error: The requested URL returned error: 502 while accessing http://anongit.kde.org/calligra/info/refs

Can you please help me.

도움이 되었습니까?

해결책

I found out that the problem was with the KDE git hosting which had only partial HTTP support.

다른 팁

Reinstalling git solved the problem for me for the same issue

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top