使用git从远程仓库下载代码出现上述的错误是由于使用了proxy代理,因此要解决该问题,核心操做就是要取消代理git
经过git的配置文件查看有无使用代理(没有成功)
查询是否使用代理:github
git config --global http.proxy git config --global https.proxy
git config --global --unset http.proxy git config --global --unset https.proxy
unset http_proxy unset ftp_proxy unset all_proxy unset https_proxy unset no_proxy