Git推送失败:RPC失败;结果= 22,HTTP代码= 413
问题描述:
我们正在使用格里特的混帐repos.I我试图把现有的项目进入一个新的仓库(数据大小:264MB)。我跟着下面的步骤:Git推送失败:RPC失败;结果= 22,HTTP代码= 413
>cd <project/path>
>git init
>git remote add origin ssh://<user>@xxxxx:29418/<project>
>git branch --set-upstream-to=origin/master master
>git push --all
但,它给我的错误上混帐推
C:\xxxxxxxx>git push --all
Counting objects: 14174, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (13610/13610), done.
error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411 Length
Required
fatal: The remote end hung up unexpectedly
Writing objects: 100% (14174/14174), 39.95 MiB | 2.65 MiB/s, done.
Total 14174 (delta 3464), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date
编辑:我们试图混帐配置http.postBuffer 524288000来解决问题,但我们得到了同样的错误
分辨率在这里 - https://confluence.atlassian.com/stashkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-282988530.html –