Friday, January 4, 2019

Solving "this exceeds GitHub's file size limit of 100 MB"

When You accidentally push large file to Github this warning will shown :

"this exceeds GitHub's file size limit of 100 MB"

To solve this problem is simple. Just type this command:

git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch YOUR-FILE'

This command will filter chosen file from push process
Share: