Updated 2026-12-04
GitHub's error reads remote: error: GH001: Large files detected, followed by the exact file and size: "File X is NNN.NN MB; this exceeds GitHub's file size limit of 100.00 MB." It's a hard per-file cutoff on every push, and simply deleting the file in a new commit does not fix it — git history still contains the earlier commit where it was added, and that's what's actually being pushed.
Git stores the full history of every file by default. A new commit that removes big-file.zip doesn't erase the commit from last week that added it — both commits, and the large blob inside the old one, are still part of the branch's history and still get pushed. The push keeps failing on that old commit even though the file is "gone" in the latest one.
git filter-repo --path path/to/file --invert-paths (or BFG Repo-Cleaner's --delete-files for the same result with a simpler interface).Community Discussion #61810 shows a real case of this: a database file hit the exact same GH001 error despite the repo using LFS, because the file was committed through a path that didn't match the .gitattributes LFS tracking rule, or was added before LFS tracking existed for that extension. LFS only protects files it's actually tracking at commit time — it doesn't retroactively cover history that predates the rule.
There's no app-level per-file size block configured on Rithub as of this writing. The Caddy reverse proxy in front of rithub.dev accepts request bodies up to 2GB, and nothing in the running configuration enforces a GH001-style instant 100MB-per-file rejection. That's not a claim that oversized binaries in git are a good idea — history-rewriting pain and finite disk space are still real regardless of host — it just means crossing 100MB on one file doesn't trigger an automatic push failure the way it does on GitHub. For large binaries that genuinely belong in version control, Rithub's built-in Git LFS has no billed storage quota and no separate bandwidth meter, unlike GitHub's metered LFS add-ons.