git - 如何修复 git 错误 : RPC failed; curl 56 GnuTLS

标签 git ubuntu

我使用的是 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/

相关文章:

Gitosis post-receive hook 用于部署存储库获取公钥错误

git - 将 git .gitignore 规则应用于现有存储库

linux - 登录时拒绝 Docker 权限以及我尝试的一切

c++ - 构建 OpenCV (C++) 时出错

git - 删除 git 目录中一个分支上的本地文件,但将其保留在本地另一分支上

git - 在 sourcetree 上,如何在不同分支 checkout 后恢复 stash ?

git - 如何将我的 git 存储库切换到特定的提交

python - 使用 jupyter notebook spawn 复制 ssh 行为

ubuntu - apt-get install pgadmin 失败,libgtk2.0-0 & libwxgtk2.8.0 尚未配置

linux - 如何禁止更新命令来查找 google-chrome 依赖项