Last active
March 13, 2020 12:25
-
-
Save taoyuan/ae44714e86d162da251007031eecfe31 to your computer and use it in GitHub Desktop.
git config proxy set and unset
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
# http proxy | |
git config --global https.proxy http://127.0.0.1:1088 | |
git config --global https.proxy http://127.0.0.1:1088 | |
# socks5 proxy | |
git config --global http.proxy socks5://127.0.0.1:1080 | |
git config --global https.proxy socks5://127.0.0.1:1080 | |
# unset proxy | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment