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

后端 未结 8 723
野趣味
野趣味 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 08:05

    I have faced the same problem while some of my csv file was merged in previous commit and github rejected my push. Later I found this command which worked for me.

    git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch fixtures/11_user_answer.json'
    # for my case
    git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch tensorflow.csv'
    
    

    Original post link

提交回复
热议问题