david_chisnall on Nostr: PSA: Important warning for anyone considering using git-lfs with a #GitHub repository ...
PSA: Important warning for anyone considering using git-lfs with a #GitHub repository to reduce clone size in CI, important warning. There is a tiny bandwidth limit (1 GB/month) for the free tier of git-lfs. There is no bandwidth limit for git clone if you are not using git-lfs. It is very easy to accidentally exhaust this quota with a few CI runs and then you cannot clone the repo until you pay GitHub or wait for the next month.
Oh, and for extra fun, the only way to actually delete files from LFS is to delete and recreate the repository (which loses all issues, PRs, and everything else), so if you go over the storage quota there is no way back ever.
In summary: Do not enable git-lfs on a free GitHub repo. You will absolutely regret it.
Oh, and for extra fun, the only way to actually delete files from LFS is to delete and recreate the repository (which loses all issues, PRs, and everything else), so if you go over the storage quota there is no way back ever.
In summary: Do not enable git-lfs on a free GitHub repo. You will absolutely regret it.