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
上一篇: shell 脚本汇总 (持续更新中)