当git push推送更新时出现下面的报错

这是网络代理的问题, 可以手动设置git push推送时的本地代理, 首先使用下面的命令取消代理设置
git config –global –unset http.proxy
git config –global –unset https.proxy
假如我们要使用的目标本地代理端口是12334, 使用下面的命令来配置代理
git config –global http.proxy http://127.0.0.1:12334
接着可以使用下面的命令来验证是否配置成功
git config –global -l

发表回复
要发表评论,您必须先登录。