Life behind the corporate firewall

Many things seems to get upset once you shove them behind a corporate NTLM firewall. Our main workaround for this is to install the cntlm proxy on a local linux box, and use it as a proxy. This is great, and many applications will obey the http_proxy and https_proxy environment variables. However, git doesn’t, and it gets worse when you are given a git: url

To configure git to use a proxy, use:

git config --global http.proxy
git config --global https.proxy

To resolve the git: url, you can set git to automatically use https instead of git

git config --global url."https://".insteadOf git://

Thanks to StackOverflow and google generally.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s