Skip to content

Instantly share code, notes, and snippets.

@Vanson
Forked from laispace/git 设置和取消代理
Created March 6, 2023 13:32
Show Gist options
  • Save Vanson/0e4610d5a1fb9d1204e11145f78261bf to your computer and use it in GitHub Desktop.
Save Vanson/0e4610d5a1fb9d1204e11145f78261bf 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
@Vanson
Copy link
Author

Vanson commented Mar 6, 2023

nice

@Vanson
Copy link
Author

Vanson commented Mar 6, 2023

git config --global http.proxy socks5://127.0.0.1:6153

git config --global https.proxy socks5://127.0.0.1:6153

git config --global --unset http.proxy

git config --global --unset https.proxy

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