git with http proxy

Aug 04 2009 Published by aaron under Tech

If you are in a situation (like me) where you are behind a http proxy and want to use the git protocol, set your http_proxy to your server and change the url of the git address to http. YAYAY :D

here is an example:

% export set http_proxy="http://proxyhost.com:proxyport"

% git clone http://github.com/your/git/path.git

Tags:

No responses yet

Leave a Reply