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.
Deleting the problematic large file from the OS fixed the issue.