set
git config –global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config –global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
unset
git config –global –unset http.proxy
git config –global –unset https.proxy
get
git config –global –get http.proxy
git config –global –get https.proxy
Reference:
- Getting git to work with a proxy server
本文介绍如何使用Git与代理服务器配合工作的方法。主要内容包括设置HTTP及HTTPS代理,取消代理设置以及查看当前代理配置。
1万+

被折叠的 条评论
为什么被折叠?



