I dont know how to do it so I would like to ask you. In git repo(gitlab) I got 5 commits: A->B->C->D->E and I pushed always a file/files contains 20MB Now Repo is a bit too big. I want to remove commits and FILE from these commits B,C,D. What shoul I do? I have already done:
git checkout <hash-A>
git cherry-pick <hash-E>
git branch -f master
git checkout master
git push -f origin master
and
git rebase -i <hash-A>
git push -f
After that commits are deleted but Repo have the same size as before. Is there any option to remove commits AND size Repo as well?