Skip to content

Instantly share code, notes, and snippets.

@xmaihh
Created December 14, 2018 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xmaihh/c2684421599c25f333a6df7ca9cf8102 to your computer and use it in GitHub Desktop.
Save xmaihh/c2684421599c25f333a6df7ca9cf8102 to your computer and use it in GitHub Desktop.

git设置和取消代理

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 环境
npm config delete proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment