Skip to content

Instantly share code, notes, and snippets.

@cxfksword
Created December 25, 2016 10:34
Show Gist options
  • Save cxfksword/2f14fdc3d49364832f2262633609159e to your computer and use it in GitHub Desktop.
Save cxfksword/2f14fdc3d49364832f2262633609159e to your computer and use it in GitHub Desktop.
git设置代理

#http

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

#socket5

git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
@jijinsheng
Copy link

@GameMasteR+@mode+$元宝+100000

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