Skip to content

Instantly share code, notes, and snippets.

@kj54321
Forked from laispace/git 设置和取消代理
Created September 5, 2016 01:34
Show Gist options
  • Select an option

  • Save kj54321/ee71aa24d6f8bfce0bace1621c3fc721 to your computer and use it in GitHub Desktop.

Select an option

Save kj54321/ee71aa24d6f8bfce0bace1621c3fc721 to your computer and use it in GitHub Desktop.
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