git 提示:error: unable to rewind rpc post data - try increasing http.postBuffer
2017-12-18 21:20
357 查看
把项目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
唤起终端运行命令:
参考链接: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 -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
- android studio提示Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Reques
- git错误提示error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- Vs2015 本地git获取的代码目录文件修改后,启动提示error:Unable to start program “C:\Program Files\dotnet\dotnet.exe” 已解决.
- git https方式pull、push时,提示:error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh
- CocoaPods错误:fatal: unable to access ''SSLRead() return和error: RPC failed; result=56, HTTP code = 200
- How to retreive raw post data from HttpServletRequest in java
- was unable to start within 45 seconds. If the server requires more time, try increasing the timeout
- iOS ERROR: unable to get the receiver data from the DB 解决方案
- hive sequencefile导入文件遇到FAILED: SemanticException Unable to load data to destination table. Error: The file that you are trying to load does not match the file format of the destination table.错误
- git提示 error: Your local changes to the following files would be overwritten by merge:
- Server Tomcat v5.5 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing t
- Unable to open Web project 'ProjectName'. An HTTP error occurred. The server ......
- Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns "HTTP/...
- git non fast forward rejected && [git]error: RPC failed; result=55, HTTP code = 0
- fedora18 [linux]Error: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.
- git push github失败,提示:SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- How to retreive raw post data from HttpServletRequest in java
- Server gl was unable to start within 60 seconds. If the server requires more time, try increasing th