While working on a project I accidentally committed one of the videos I was testing, pushed it to remote, and made quite a few other commits and pushes before I realized that video was in there. I know its not super ideal to try to rewrite the history, but because of this the git repo is like 200 MB which is getting me yelled at at work.
I tried to do a
git rebase -i HEAD~31
31 is my oldest commit, and I found all the commits I want to delete. I tried to drop them, which didn't seem to work, I tried to delete them and then do
git push origin HEAD --force
but that just said that the branch was up to date. The pushes with the video are still in the remote, what can I do to remove them?