执行 git push 操作时报错,错误代码如下:
Counting objects: 1916, done. Delta compression using up to 8 threads. Compressing objects: 100% (1836/1836), done. Writing objects: 22% (436/1916), 13.94 MiB | 23.00 KiB/s error: unable to rewind rpc post data - try increasing http.postBuffer error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 fatal: The remote end hung up unexpectedlyB | 13.00 KiB/s Writing objects: 100% (1916/1916), 28.87 MiB | 52.00 KiB/s, done. Total 1916 (delta 296), reused 0 (delta 0) fatal: The remote end hung up unexpectedly Everything up-to-date
其实错误代码中已经给出了错误原因及解决办法:
error: unable to rewind rpc post data - try increasing http.postBuffer
上面的意思是让你增加 http.postBuffer 的大小,代码为:
git config http.postBuffer 1024000
1024000 就是增加以后的大小,如果还报错设置的更大一些即可。
声明:本文为原创文章,版权归主机之家测评所有,欢迎分享本文,转载请保留出处!