即使您有积分,如何在出错时从 git-lfs 获取大文件

How to get large files from git-lfs when error even though you have credits

我已经尝试将 100 GB 的 LFS 积分添加到我的 github 帐户,但仍然得到:

"This repository is over its data quota. Purchase more data packs to restore access."

对于这个 repo:

https://github.com/aarch64-laptops/prebuilt

而且我已经尝试将回购分叉到我帐户下的一个新回购但同样的问题。还有其他获取这些大文件的方法吗?

分叉无法解决问题,如 nabla-c0d3/nassl issue 17

中所述

To be honest, I'm very disappointed with how GitHub supports git-lfs for public projects. Charging for storage and bandwidth makes no sense, especially since switching to git-lfs reduces bandwidth usage / cost for GitHub, compared to just storing big files in git. The fact the quotas are for every fork, which I did not know, is even crazier.

I agree with you that git-lfs leaves a lot to be desired, and I think you raise an excellent point about charging us for something that saves them money.

如果你不关心那些大文件的历史,你可以,在你的附加信用的上下文中:

  • 创建一个新的本地存储库
  • 在其中添加一个大文件
  • 添加、提交和推送
  • 对每个大文件重复(查看进程是否在任何时候阻塞)

但是:如果您还没有这些大文件的本地副本,则只有 git lfs clone + git lfs fetch 才能取回它们。

而且...如果 bandwidth limit 已经达到,那将无济于事。
您需要从 third-party 来源获取这些文件,或者向 GitHub support.

申诉您的情况

我已经部分解决了这个问题。只需安装在 Windows GitStack 上。它对 3 个用户免费,并且由于在您的开发计算机上进行本地部署而没有任何限制。

这好像是个大问题,唯一的办法就是付费。