首页 > 解决方案 > Git 包超出限制

问题描述

您好,当我尝试将提交推送到我的 Git 桌面中的分支时,我收到以下错误。错误如下:

Enumerating objects: 14181, done.
Counting objects: 100% (14181/14181), done.
Delta compression using up to 64 threads
Compressing objects: 100% (8094/8094), done.
remote: fatal: pack exceeds maximum allowed size        s
error: RPC failed; curl 55 Send failure: Connection was aborted
fatal: the remote end hung up unexpectedly
Writing objects: 100% (14180/14180), 4.55 GiB | 14.97 MiB/s, done.
Total 14180 (delta 8863), reused 11393 (delta 6076), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

我从网上尝试了一些解决方案,例如从 git bash 增加缓冲区大小:

git config http.postBuffer 524288000

git gc --aggressive

但他们都没有解决这个问题。可能是什么问题呢?

标签: gitgit-bash

解决方案


推荐阅读