标签:
启用代理
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://gist.github.com/laispace/666dd7b27e9116faece6
http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server
http://my.oschina.net/tearlight/blog/193913
标签:
原文地址:http://www.cnblogs.com/lewh/p/5774203.html