Created
February 1, 2017 10:28
-
-
Save caorong/42a16c7e924cb57160a6a8a689ca0fcb to your computer and use it in GitHub Desktop.
down-go-lib-with-cow
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
## set | |
export http_proxy=http://localhost:8989 | |
export https_proxy=$http_proxy | |
export ftp_proxy=$http_proxy | |
export rsync_proxy=$http_proxy | |
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" | |
git config --global https.proxy http://127.0.0.1:8989 | |
git config --global https.proxy https://127.0.0.1:8989 | |
## unset | |
unset http_proxy | |
unset https_proxy | |
unset ftp_proxy | |
unset rsync_proxy | |
unset no_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