I am getting this error when I try to push to git and I have no idea how to fix it.
Counting objects: 1239, done. Delta compression using up to 4 threads. Compre
I faced the same issue recently, you can actually just filter the branch for specific file and remove it -
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD