git 代理
-
http代理
git config --global https.proxy http://127.0.0.1:10800 git config --global https.proxy https://127.0.0.1:10800
-
socks5代理
git config --global http.proxy 'socks5://127.0.0.1:10800' git config --global https.proxy 'socks5://127.0.0.1:10800'
-
查看代理
git config --global --get http.proxy git config --global --get https.proxy
-
取消代理
git config --global --unset http.proxy git config --global --unset https.proxy
浙公网安备 33010602011771号