Hello,
How do I delete remote commit already in Bitbucket?
I tried going to repo settings, but I cannot seem to find option to delete a commit.
Thank you for you help.
Bojan
Hi Bojan,
There is no such option. You will have to checkout the repo/branch you want to change and fix the history manually. Once that's done and you are sure about it, you will have to do a "git push --force" to the remote so the history gets rewritten on the server and, hence, the commit is removed from the server as well.
Best regards,
Thiago Bomfim
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.