Git cloning behind proxy server

If you are behind proxy which is protected by firewall and want to use git clone using git:// protocol there is a huge chance that it will not work. But the beautiful thing is you can use http:// protocol instead. Which will work behind most of the proxy.
So for example, suppose you want to clone ibus-avro from github.com/sarim. So normally you will run the following command:
git clone git://github.com/sarim/ibus-avro.git

Now if cloning fails, that means your proxy firewall is blocking it, you can run the following command instead.
git clone http://github.com/sarim/ibus-avro.git

Which will also clone the content of ibus-avro.
Hope this will help.

Cheers
A.Paul

Comments

Popular posts from this blog

Changing caption width in latex

Subtitle in latex

Send in Email in Background in Thunderbird