Git will not let me push an update to my remote branch because a file is too large. I don't even need to file so I've deleted it. I still get the same error. I added this file to my .gitignore file and to my .gitattribute file for git lfs and I'm still getting the same error. I just want to get rid of this huge file so I can update my remote branch. But, I have no idea where or where it is causing a problem. None of the solutions in the post below worked: Can't push to GitHub because of large file which I already deleted
C:>git push -u origin localbranch
Enumerating objects: 55, done.
Counting objects: 100% (55/55), done.
Delta compression using up to 12 threads
Compressing objects: 100% (36/36), done.
Writing objects: 100% (47/47), 29.97 MiB | 13.67 MiB/s, done.
Total 47 (delta 15), reused 34 (delta 7), pack-reused 0
remote: Resolving deltas: 100% (15/15), completed with 6 local objects.
remote: error: Trace: 4141414
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File file.csv is 182.47 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/billybabis/data.git
! [remote rejected] localbranch -> localbranch (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/billybabis/data.git'
C: >git rm -r --cached file.csv
fatal: pathspec 'file.csv' did not match any files