Unable to clone using Git over HTTP

uyetch picture uyetch · Feb 9, 2012 · Viewed 8.3k times · Source

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.

Answer

uyetch picture uyetch · Mar 23, 2012

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