[英]Git - Azure DevOps “error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413”
I'm trying to push a 240mb commit to azure devops git repository via https and I get this error: "error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413" I'm trying to push a 240mb commit to azure devops git repository via https and I get this error: "error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413"
I've read through several other posts, but none of them seem to solve my problem or match what I'm experiencing.我已经阅读了其他几篇文章,但它们似乎都没有解决我的问题或与我遇到的问题相匹配。
I've tried git config --global http.postBuffer 524288000我试过 git 配置 --global http.postBuffer 524288000
and then recommitting, but it doesn't appear to give me more than 150mb of headroom.然后重新提交,但它似乎没有给我超过 150mb 的空间。 (151mb and I get the same error) I don't want to use SSH.
(151mb,我得到同样的错误)我不想使用 SSH。
Azure DevOps has a 5gb commit limit which was working fine before a day or two ago. Azure DevOps 有一个 5gb 的提交限制,在一两天前还可以正常工作。
Edit 6/19/2020: 2020 年 6 月 19 日编辑:
I'm using 'git push' or the push command via visual studio.我正在使用“git push”或通过 Visual Studio 的 push 命令。 The cmd shows results such as:
cmd 显示的结果如下:
Enumerating objects: 1086, done.
Counting objects: 100% (1086/1086), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1082/1082), done.
Writing objects: 100% (1084/1084), 231.22 MiB | 7.48 MiB/s, done.
Total 1084 (delta 438), reused 0 (delta 0)
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
EDIT: 6/20/2020编辑:2020 年 6 月 20 日
I reinstalled my operating system but it I still have the same problem pushing.我重新安装了我的操作系统,但我仍然遇到同样的问题。
Thanks for your help Lance Li-MSFT.感谢您的帮助 Lance Li-MSFT。 I tried a new repository and had the same issue, I ended up creating a new organization and a new repository and it checked in ok, so I think I must have hit a ceiling in the overall repository size across the organization.
我尝试了一个新的存储库并遇到了同样的问题,我最终创建了一个新的组织和一个新的存储库,并且它签入正常,所以我认为我必须在整个组织的整体存储库大小中达到上限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.