提交文件到github错误

1.Failed with error: TaskCanceledException encountered.
The remote end hung up unexpectedly
The remote end hung up unexpectedly
RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

解决:
开始用这条命令发现还是报同样的错误 使用下面的命令后就可以了,因为服务器的SSL证书没有经过第三方机构的签署 所以报错

git config http.postBuffer 524288000

接着又使用这条命令

env GIT_SSL_NO_VERIFY=true

再次push成功

2.OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

解决

git config --global --unset http.proxy

3.push 提交时显示 Empty reply from server的解决办法

解决:

git fetch origin --prune

git命令执行的地方,这个应该不需要强调了,注意要在要提交的文件的地方git,应该是有.git文件的地方,否则应该会报错
提交文件到github错误_第1张图片

你可能感兴趣的:(工具)