Git lfs - “this exceeds GitHub's file size limit of 100.00 MB”

后端 未结 8 734
野趣味
野趣味 2020-11-29 07:16

I have some csv files that are larger than github\'s file size limit of 100.00 MB. I have been trying to use the Git Large File Storage extension.

https://git-lfs.gi

8条回答
  •  时光说笑
    2020-11-29 07:56

    I had this error:

    remote: error: File client/static/static-version/20171221_221446.psd is 223.61 MB; this exceeds GitHub's file size limit of 100.00 MB

    And because I already removed this file from this folder, created .gitignore file and tried to commit couple times, I didn't know that it was cached, I could not push to github. In my case helped:

    git filter-branch --index-filter 'git rm --cached --ignore-unmatch client/static/static-version/20171221_221446.psd'

    Where I placed full file path(from error above) to remove it from cache. After that, push was made successfully

提交回复
热议问题