git错误处理

1.10054

fatal: unable to access 'https://github.com/QinCongH/learning-code.git/': OpenSSL SSL_read: Connection was reset, errno 10054


解决:

git config --global http.sslVerify "false"
//or
git config --global https.sslVerify "false"

2.由于启动了代理造成git连接失败

fatal: unable to access 'https://github.com/QinCongH/heer-system.git/': Failed to connect to 127.0.0.1 port 1080: Connection refused

解决方法:

找到项目的.git/config文件夹,将这一行删掉

[http]
	proxy = 127.0.0.1:1080
posted @ 2021-11-29 09:04  禾耳  阅读(64)  评论(0)    收藏  举报