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 --unset http.proxy
git config --global --unset https.proxy
或者更加偷懒地在系统变量里添加HTTP_PROXY和HTTPS_PROXY
为Git设置代理
最新推荐文章于 2025-12-02 14:13:54 发布
1078

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



