How to fix “fatal: Cannot handle files this big” i

2019-08-10 01:32发布

问题:

When trying to commit, I get this error:

fatal: Cannot handle files this big

and nothing else seems to work, I've tried git reset and even git status fails with the same error.

I don't want to be able to commit large files. Rather, I would like to fix the current state of my working directory and undo adding whichever file caused this.

回答1:

Deleting the problematic large file from the OS fixed the issue.