Skip to content

Instantly share code, notes, and snippets.

@6220119
Last active March 7, 2017 20:12
Show Gist options
  • Save 6220119/6b511daf88431013ccef54fdf31d9117 to your computer and use it in GitHub Desktop.
Save 6220119/6b511daf88431013ccef54fdf31d9117 to your computer and use it in GitHub Desktop.
Corporate Proxy suck
git config --global url."https://".insteadOf git://
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global http.proxy http://proxy.mycompany:80
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
npm config set registry http://registry.npmjs.org/
automatic proxy script can be located using chrome://net-internals/#proxy
Thanks http://artica-proxy.com/how-to-debug-proxy-pac-with-google-chrome/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment