问题
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.
来源:https://stackoverflow.com/questions/31388667/how-to-fix-fatal-cannot-handle-files-this-big-in-git