尝试使用Linux推送到GitHub时出错

问题描述 投票:-1回答:1

最近,我想出了这个错误,还没有发现任何建议。我正在尝试将此更改推送到github存储库,我已经推送了2.2GiB文件夹,但不能使用该文件夹,是否由于限制?我不知道。

Delta compression using up to 8 threads.
Compressing objects: 100% (8382/8382), done.
error: RPC failed; result=55, HTTP code = 200 8.60 MiB/s
fatal: The remote end hung up unexpectedly
Writing objects: 100% (8394/8394), 17.76 GiB | 47.01 MiB/s, done.
Total 8394 (delta 3395), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date

我也尝试过使用“ http.postBuffer”将某些内容更改为2MM以防万一。尝试更改身份验证时间,因为我不知道它是否有问题,最后我尝试了LFS Git

linux git github centos push
1个回答
0
投票

如果您不使用Git LFS,则是为了比较小的代码文件。使用Git LFS,您可以管理大文件,但我认为Github会有局限性。

https://git-lfs.github.com/

https://help.github.com/en/github/managing-large-files/configuring-git-large-file-storage

Github建议存储库不要大于1G。如果要推送大文件,请注意LFS。

https://help.github.com/en/github/managing-large-files/what-is-my-disk-quota

© www.soinside.com 2019 - 2024. All rights reserved.