完整错误如下:
Delta compression using up to 4 threads.
Compressing objects: 100% (2336/2336), done.
Writing objects: 100% (2429/2429), 6.72 MiB | 9.73 MiB/s, done.
Total 2429 (delta 481), reused 0 (delta 0)
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 32
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
原因:提交内容过多
解决:
打开终端在项目根目录中执行
git config http.postBuffer 524288000
修改提交限制的大小即可
本文详细解析了在使用Git进行大文件提交时遇到的RPC失败错误,并提供了具体的解决方案,通过调整http.postBuffer参数来增加提交限制大小。

7472

被折叠的 条评论
为什么被折叠?



