Github代理设置

启用代理

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
git config --global http.sslVerify false

禁用代理

git config --global --unset http.proxy
git config --global --unset https.proxy

检查当前代理

git config --global --get http.proxy
git config --global --get https.proxy

参考资料

原文地址:https://www.cnblogs.com/lewh/p/5824141.html