今天把项目提交的git远程的时候遇到一个问题
fatal: unable to access '': Failed to connect to 127.0.0.1 port 1181: Connection refused
然后我就搜了一下,发现是因为最近使用了代理,然后.gitconfig
里面多了两行代理相关的配置,就是这几行
[http]sslVerify = falseproxy = http://127.0.0.1:1181[https]proxy = http://127.0.0.1:1181
把这几行删掉即可正常push了