Tag Archives: this exceeds GitHub’s file size limit of 100 MB

[Solved] GitHub Error: this exceeds GitHub’s file size limit of 100 MB

GitHub has a limit on the size of files. The problem is that after the relevant files are removed, the problem still exists.

Solution:

In addition to removing related files, you should also modify the GIT history and remove the corresponding commit node.

The easiest way is to use the following command:

git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch your-file'

This command will filter the specified file from the push process.

Please use this command with caution. It is strongly recommended to back up before use to prevent misoperation.