Skip to content

Instantly share code, notes, and snippets.

@zilongshanren
Forked from laispace/git 设置和取消代理
Created November 30, 2016 20:45
Show Gist options
  • Save zilongshanren/f808c25ff732fd4eb1f004c4a3e04c4f to your computer and use it in GitHub Desktop.
Save zilongshanren/f808c25ff732fd4eb1f004c4a3e04c4f 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
@zilongshanren
Copy link
Author

@zilongshanren
Copy link
Author

sudo sslocal -c shawdowsocks.json -d start
export http_proxy="http://127.0.0.1:8123/"

@zilongshanren
Copy link
Author

git config --global https.proxy http://127.0.0.1:8123
git config --global https.proxy https://127.0.0.1:8123

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