-
-
Save Art2Cat/f7e7d76f95fab455a55f412ab5be2b76 to your computer and use it in GitHub Desktop.
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 https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
让go get用上http代理:
windows: go get前设置代理: 执行 set http_proxy=http://localhost:1087/ set https_proxy=http://localhost:1087/,然后go get就会走代理了
linux: go get前设置代理: 执行 export http_proxy=http://localhost:1087/,export https_proxy=http://localhost:1087/ 然后go get就会走代理了
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'