Question

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.

Was it helpful?

Solution

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

OTHER TIPS

Reinstalling git solved the problem for me for the same issue

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top