设置代理
http https
git config --global http.proxy 'http://127.0.0.1:port'
git config --global https.proxy 'https://127.0.0.1:port'
socks5
git config --global http.proxy 'socks5://127.0.0.1:port'
git config --global https.proxy 'socks5://127.0.0.1:port'
查看代理
git config --global --list
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy