-
-
Save eczn/2f477cfe0e45609f2e422bcd556f3829 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 https.proxy http://127.0.0.1:1080 | |
git config --global http.proxy https://127.0.0.1:1080 | |
# 取消 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
# 删除 npm proxy 配置 | |
npm config delete proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
更多内容看原 fork 的评论区