How to fix “fatal: Cannot handle files this big” in git?

混江龙づ霸主 提交于 2019-12-13 18:41:19

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!