Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CornPrincess/0d55aaaa99610cb287c478d36d5ece2a to your computer and use it in GitHub Desktop.
Save CornPrincess/0d55aaaa99610cb287c478d36d5ece2a 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
@CornPrincess
Copy link
Author

git config --global http.proxy 'socket5://127.0.0.1:1080'
git config --global https.proxy 'socket5://127.0.0.1:1080'

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