【踩坑 git push】fatal: unable to access ‘https:..‘OpenSSL SSL_read: Connection was reset, errno 10054

踩坑记录:

在 git push 项目时,报错(属于 SSL 认证问题):

fatal: unable to access 'https://github.com/Kevin1024Efan/CaiDaXing-Blog.git/': OpenSSL SSL_read: Connection was reset, errno 10054

解决方法一:

取消 git 对 SSL 的检验

git config --global http.sslVerify "false"

【踩坑 git push】fatal: unable to access ‘https:..‘OpenSSL SSL_read: Connection was reset, errno 10054_第1张图片
解决方法二:

将 .git/cofig 文件中的 url 进行修改
原来:
https://github.com/Kevin1024Efan/CaiDaXing-Blog.git/
修改后:
[email protected]:Kevin1024Efan/CaiDaXing-Blog.git

【踩坑 git push】fatal: unable to access ‘https:..‘OpenSSL SSL_read: Connection was reset, errno 10054_第2张图片

你可能感兴趣的:(踩坑记录,git,https,ssl)