so I work on a branch of a master git repository, which is now 4 GB large, because I once pushed raw data by mistake.
So what I did is to use git reset--hard@(10)
to go back 10 commits and then used git push -f
.
Now my commit history is clean, but the repo is still 4gb large.
How can I delete the last 10 commits. To be honest I wouldn't even mind setting back my branch completely to the same state as the master is.