Git 拉取Gitee仓库报错:“fatal: unable to access ''": Failed to connect to 127.0.0.1 port 1080: Connection refused”

今天提交代码到gitee时出现提交失败的错误。

百度了下找到了问题的原因。

在cmd中输入以下命令查看是否Git使用了代理

git config --global http.proxy 

若是,则取消代理

git config --global --unset http.proxy

详情参考:https://www.cnblogs.com/gavincoder/p/10160986.html

原文地址:https://www.cnblogs.com/-ting/p/12546737.html