Skip to content

Instantly share code, notes, and snippets.

@magicianShiro
Forked from laispace/git 设置和取消代理
Created November 20, 2019 06:16
Show Gist options
  • Save magicianShiro/19c9c3848433dc70d3c8daeddbe12f2d to your computer and use it in GitHub Desktop.
Save magicianShiro/19c9c3848433dc70d3c8daeddbe12f2d to your computer and use it in GitHub Desktop.
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment