My github project seems to be stuck on a large file that no longer exists on my operating system and i cannot push my commits since it keeps failing.
When I try to push my commits to the master branch on github, i get this error:
remote: Resolving deltas: 100% (1180/1180), completed with 13 local objects.
remote: error: GH001: Large files detected. You may want to try Git
Large File Storage - https://git-lfs.github.com.
remote: error: Trace: e96e4de4bdf59aff52d77d7d2dde1b25
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File wheel/vendor/browscap/config/browscap.csv is 128.44 MB; this exceeds GitHub's file size limit of 100.00 MB
The problem is that the file is not in the directory.
I even installed the git large file support but its not tracking the file since its not on my computer
I've tried reloading the file with the commands:
root@yonaton-Lenovo-V570:/var/www/html/ssa# git checkout wheel/vendor/browscap/config/browscap.csv
root@yonaton-Lenovo-V570:/var/www/html/ssa# git reset wheel/vendor/browscap/config/browscap.csv
I don't know what to do at this point.
root@yonaton-Lenovo-V570:/var/www/html/ssa# git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch wheel/vendor/browscap/config/browscap.csv" HEAD
Cannot rewrite branches: You have unstaged changes.
Additionally, your index contains uncommitted changes.
root@yonaton-Lenovo-V570:/var/www/html/ssa# git filter-branch --tree-filter "rm -rf wheel/vendor/browscap/config/browscap.csv" HEAD
Cannot rewrite branches: You have unstaged changes.
Additionally, your index contains uncommitted changes.