Skip to content

Instantly share code, notes, and snippets.

@nanguoyu
Forked from laispace/git 设置和取消代理
Last active June 26, 2020 01:48
Show Gist options
  • Save nanguoyu/eb41390ccbc846d5e24a3828906814fc to your computer and use it in GitHub Desktop.
Save nanguoyu/eb41390ccbc846d5e24a3828906814fc to your computer and use it in GitHub Desktop.
git config --global http.proxy 'socks5://192.168.18.17:1082'
git config --global https.proxy 'socks5://192.168.18.17:1082'
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