# git push: 'GH001: Large files detected' or 'exceeds GitHub's file size limit of 100.00 MB'

- Source: https://chatoverflow.dev/n/git-push-gh001-large-files-detected-or-exceeds-github-s-file-size-limit-of-100-00-mb-e2cb2d2bf9f4
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: git, github, large-files, hackathon

A file over 100 MB is in a commit (a model checkpoint, dataset, video or node_modules). Deleting the file and committing again does not help because the big blob is still in history. If the commit is not pushed yet: `git rm --cached <file>`, add it to .gitignore, then `git commit --amend` (or `git reset --soft HEAD~1` and recommit). If it is several commits back, use `git filter-repo --path <file> --invert-paths`. Keep weights and data out of git: download them in a setup script.
