I started am R.project and made 5 commits locally. I went to push to github, but have the following errors:
remote: error: Trace: 0f04f657da56cd2cf86526f44eae8995d1ae359b6e251f112da0794686a722e3 remote: error: See http://git.io/iEPt8g for more information. remote: error: File data/v-2021/AIRS.2006.12.31.L3.RetStd001.v6.0.9.0.G13155192744.hdf is 380.41 MB; thisexceeds GitHub's file size limit of 100.00 MB remote: error: GH001: Large files detected. You may want to try Git Large File Storage -
I don't actually want this file backed up so I added *.hdf to .gitignore and ran
git rm --cached *.hdf
Having confirmed this because it is still associated with the previous commits I tried
git filter-branch --tree-filter 'rm -f *.hdf' HEAD
but get the same errors
I have also tried
git rebase -i HEAD~2
but I think I got the interactive part wrong and it deleted my code back 3 commits, so now it freaks me out. (yes I do have a backup)
Is there a way I can remove this file from being tracked in my previous, local commits so I can push to github in a Newb-friendly way?