Created
March 2, 2017 15:03
-
-
Save qiujianzhong/e0c6a6c6df2206c5e3c2fd10dad90ae1 to your computer and use it in GitHub Desktop.
git 设置和取消代理
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 'socks5://127.0.0.1:1080' | |
git config --global https.proxy 'socks5://127.0.0.1:1080' | |
#关闭 | |
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