我正在将一个非常大的存储库推送到 GitHub,我收到一条错误消息,指出包超过了允许的最大大小:
git push
Counting objects: 2072164, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (731293/731293), done.
fatal: pack exceeds maximum allowed size2.00 GiB | 118 KiB/s
error: pack-objects died of signal 13
有没有办法在推送时强制设置最大包装尺寸?git repack --max-pack-size=1g -d -f -F -a
推前我试过了。我也试过了git config pack.packSizeLimit 1g
。还有其他方法吗?