This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Export your shell environment for http proxy use | |
export http_proxy="http://hostname:port" or save it to your shell profile. (i.e. ~/.bash_rc) | |
export http_proxy='http://example.proxy_name.com:80' | |
For multi-user installs, use sudo -E to preserve the proxy settings in your environment: | |
Setting git to use a proxy | |
git config --global url.https://github.com/.insteadOf git://github.com/ | |
git config --global http.proxy %http_proxy% |