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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.