git代码管理:使用SourceTree push时错误:error: unable to rewind rpc post data - try increasing http.postBuffer
来源:互联网 发布:linux网络设置 编辑:程序博客网 时间:2024/05/29 18:32
这两天重新整理项目组代码,之前托管在开源中国git服务器上的代码由于管理和操作的不规范,使我们的维护已经很吃力了。
重新建立远程源仓库,git管理工具使用的SourceTree,把项目fork下来,加入本地项目,当push到源仓库的时候,出现如下问题:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/develop:refs/heads/develop
Pushing to http://git.oschina.net/******
POST git-receive-pack (chunked)
error: unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; curl 56 Recv failure: Connection reset by peer
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
Completed with errors, see above
大概意思是http.postBuffer太小,需要设置更大的值,应该是我们项目中用到的第三方静态库有400多MB大小的单个.a文件。
谷歌查了相关资料,在终端执行
git config --global http.postBuffer 524288000命令,将http.postBuffer设置为500MB大小后,可以正常push操作了。
也可以通过Source Tree
唤起终端运行命令:
git config http.postBuffer 524288000
参考链接:http://www.ifeegoo.com/git-code-management-dot-gitignore-file-has-no-effect-solution.html
http://www.ifeegoo.com/git-rpc-failed-result-equals-56-http-code-equals-0-error-analysis-and-solution.html
http://support.deveo.com/knowledgebase/articles/188200-git-push-over-https-with-large-changesets
- git代码管理:使用SourceTree push时错误:error: unable to rewind rpc post data - try increasing http.postBuffer
- unable to rewind rpc post data - try increasing http.postBuffer
- git 提示:error: unable to rewind rpc post data
- 使用SourceTree push代码遇到的问题:remote: Permission to
- git push时出现error: RPC failed; result=22, HTTP code = 411的问题
- error: RPC failed; result=22, HTTP code = 413 git push时
- Git push error: Unable to unlink old (Permission denied)
- git push error unable to create temporary sha1 filename
- git push错误:RPC failed; HTTP 401 curl 22 The requested URL returned error: 401 The remote end hung up
- Mac OS下使用SourceTree Push到Github时出现 POST git-receive-pack (chunked) 的解决办法
- CocoaPods错误:fatal: unable to access ''SSLRead() return和error: RPC failed; result=56, HTTP code = 200
- git错误:error: failed to push some refs to
- git 错误error: failed to push some refs to
- git管理:sourcetree的使用
- git 提示Push错误“Error writing request body to server”
- git push error: RPC failed; result=22, HTTP code = 411
- git push失败 错误代码:error: RPC failed; result=56, HTTP code = 0
- git https方式pull、push时,提示:error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh
- Appium+Robotframework实现手机应用的自动化测试-1:Appium简介
- Spring+SpringMVC+Mybatis+Mysql整合实例
- 素数对猜想
- 自己总结面试题
- Android中shape中的属性大全
- git代码管理:使用SourceTree push时错误:error: unable to rewind rpc post data - try increasing http.postBuffer
- ListView练习
- 编译链接的整个过程
- The resource identified by this request is only capable of generating responses with characteristics
- HTML 北大青鸟视频宣传片列表
- unity 实现一个二维指南针
- WebDriver PageObject学习
- 【Day27】什么是nginx,以及通过 nginx 实现静态文件转发、反向代理和负载均衡的配置
- sql之left join、right join、inner join的区别