VPS主机
测评与优惠

git push提示error: unable to rewind rpc post data - try increasing http.postBuffer错误的解决办法

执行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就是增加以后的大小,如果还报错设置的更大一些即可。

赞(0)
未经允许不得转载:主机之家测评 » git push提示error: unable to rewind rpc post data - try increasing http.postBuffer错误的解决办法

评论 抢沙发

评论前必须登录!

立即登录   注册