recently I cleaned up my git repo by using git rebase -i --root master
. I squashed a few commits together, edited some, set the time accordingly and at the end I used git push --force-with-lease origin master
to push my local state to remote.
This worked just fine and my repo is now cleaned up as seen here, but somehow I was able to find an old commit hash and when searching for it explicitly via the url, I am still able to view the old tree that is not used anymore as seen here.
So my question is if and how it is possible to delete these old commits/trees from my remote repository?
Any ideas?