我使用的是 Ubuntu 16.04。当我想要 git push origin master 时,我得到:
error: RPC failed; curl 56 GnuTLS recv error (-12): A TLS fatal alert has been received.
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
最佳答案
@harlequin 接受的答案可能有效,但我花了 2 个小时无法从源代码构建 git 包。
但是,请检查以下链接,因为这对我有用。
The remote end hung up unexpectedly while git cloning
只需更新 http post 缓冲区值
git config --global http.postBuffer 1048576000
关于git - 如何修复 git 错误 : RPC failed; curl 56 GnuTLS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38378914/