Created
September 30, 2016 03:15
-
-
Save imam-san/bae2ff35e12fe0c742e36c5aebf6b215 to your computer and use it in GitHub Desktop.
git under proxy
This file contains 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
git config --global http.proxy http://proxyuser:[email protected]:8080 | |
change proxyuser to your proxy user | |
change proxypwd to your proxy password | |
change proxy.server.com to the URL of your proxy server | |
change 8080 to the proxy port configured on your proxy server | |
If you decide at any time to reset this proxy and work without proxy: | |
Command to use: | |
git config --global --unset http.proxy | |
Finally, to check the currently set proxy: | |
git config --global --get http.proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment