Git Push 提示 Error: Unable To Rewind Rpc Post Data – Try Increasing Http.PostBuffer 错误的解决办法

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

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享
评论 抢沙发
快巴主机评测的头像-快巴主机评测

昵称

取消
昵称表情代码图片