Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save krisai/eec629f5c09e5cc1dadcc336f0813816 to your computer and use it in GitHub Desktop.
Save krisai/eec629f5c09e5cc1dadcc336f0813816 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
@krisai
Copy link
Author

krisai commented May 21, 2019

git config --global http.proxy 'socks5://127.0.0.1:1086'

git config --global https.proxy 'socks5://127.0.0.1:1086'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment