Skip to content

Instantly share code, notes, and snippets.

@fpGHwd
Forked from laispace/git 设置和取消代理
Created June 16, 2018 04:25
Show Gist options
  • Save fpGHwd/dc021dc6790b5e9f94b2948faae5d780 to your computer and use it in GitHub Desktop.
Save fpGHwd/dc021dc6790b5e9f94b2948faae5d780 to your computer and use it in GitHub Desktop.
set and cancel git proxy
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment