Tuesday, August 02, 2011

Git via a http proxy on windows

I found this tutorial on line (there are several ones similar to this one). But that didn't work for me.

Reason being that our proxy is more adamant at asking for the password than most. So what worked for me was:

git config --global http.proxy http://[username]:[password]@[proxyaddress]:[port]

Obviously, everytime you update your password you'll need to update your global proxy setting.
Port is usually 80, or 8080.