设置sock5代理
1
git config --global http.proxy socks5h://127.0.0.1:1080
http/https代理
12
git config --global https.proxy http://127.0.0.1:12333git config --global https.proxy https://127.0.0.1:12333
查看代理
git config --global http.proxy
取消代理
git config --global --unset http.proxy