1.设置代理
git config --global http.proxy 'http://127.0.0.1:10808'
git config --global https.proxy 'http://127.0.0.1:10808'
2.取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
3.查看代理
git config --global --get http.proxy
git config --global --get https.proxy