git执行push命令到远程仓库报错OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

Posted 二木成林

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git执行push命令到远程仓库报错OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443相关的知识,希望对你有一定的参考价值。

异常

执行git push origin main提交本地仓库的代码到远程仓库报错:

fatal: unable to access 'https://github.com/xxx.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

解决

执行如下命令即可解决:

git config --global http.sslVerify false

再执行git push命令就能提交到远程仓库了。

以上是关于git执行push命令到远程仓库报错OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443的主要内容,如果未能解决你的问题,请参考以下文章

解决git push至远程仓库失败的问题

git命令

gitlab远程仓库地址改变,导致本地无法git push代码解决方案

git命令——从GitHub clone XXX分支,本地创建新分支push到远程仓库

git 常见冲突解决——git push遇到报错error: failed to push some refs to ‘git@git.xxx.com:xxx/xxx.git

Git同时push到多个远程仓库