9thport ruby, rails, sysadmin, os x, and other stuff

4Aug/090

git with http proxy

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

Tagged as: No Comments