我以前从未遇到过这个问题。我已经在线尝试了几种解决方案,但似乎都没有用。从谷歌搜索中我了解到,似乎我上载了太多文件,但我还尝试了一些解决方案(对其他人有用),例如:git config http.postBuffer 524288000
。但是,我仍然遇到相同的错误,并且我的项目没有上载到远程git存储库。这是错误:
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
UPDATE
我设法找到了解决方案。这就是我所做的:
git config http.sslVersion tlsv1.2
然后:git push
。它成功地推了它。希望它可以帮助任何可能陷入困境的人:)