欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Git报错解决:OpenSSL SSL_read: Connection was reset, errno 10054 错误解决

程序员文章站 2022-07-08 17:22:49
...
git config --global http.sslVerify "false"

*  关闭ssh认证

这个命令的作用是:修改解除ssl认证。但是对我没有什么用。后边继续报错

fatal: unable to access 'https://github.com/gildas-lormeau/JSONView-for-Chrome.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443

git config --global http.sslVerify false

fatal: unable to access 'https://github.com/Alice-Marsd/Face-Recognition/': OpenSSL SSL_read: Connection was reset, errno 10054

超时报错, 继续执行就好

# 删除仓库
git remote rm origin  
# 添加仓库      
git remote add origin https://github.com/Alice-Marsd/Face-Recognition

# 提交代码
git add .
git commit -m 'XXXX'
git push -u origin master

相关标签: 异常