Skip to content

Instantly share code, notes, and snippets.

@sunday1103
Last active May 21, 2017 10:42
Show Gist options
  • Save sunday1103/4068622d60078db2de22e4d1bcdc8697 to your computer and use it in GitHub Desktop.
Save sunday1103/4068622d60078db2de22e4d1bcdc8697 to your computer and use it in GitHub Desktop.
git proxy config
设置代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
取消代理
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