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

参考资料

posted @ 2016-08-30 23:32  SupremeHover  阅读(1635)  评论(0编辑  收藏  举报