I made the wrong commit and sent it to my personal bitbucket.org repository. How can I completely remove this commit from the history of the remote repository?
I tried the following:
git reset --hard HEAD~1 git reset HEAD~ git commit -m "some message" git push -f
I did this based on a solution from Bitbucket git reset
However, previous commits are available through the Bitbucket web interface.
I mean, they are still accessible by reference, for example https://bitbucket.org/user/repo/commits/<deleted commit hash> (although they are not listed in the repository commits in the web interface).
Was this information (history that I intended to delete) received from my repository?
Or
- Is this some bitbucket.org feature?
- Did I take some steps wrong? Which the?
- How to completely remove a commit from history on bitbucket.org?
source share