Running Git Bash Behind a Corporate Proxy

Running Git Bash Behind a Corporate Proxy

ยท

0 min read

Hi again, I'm sure we've all been there (at least those of us who use git from the command line) you do git push -u origin master and you get an error, well it can be resolved and ridiculously easy too. Just open the git terminal and run the following command git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 Replace proxyuser with your username, proxypwd with your system password and proxyserver.com with the Proxy IP you're behind e.g 172.18.9.2 and port the port you're behind. I have a blogpost on running npm install behind a corporate proxy which runs almost exactly the same, check that out if you're a little bit confused, I go into it in greater detail. Have a great day ๐Ÿ˜ƒ