Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I delete remote commit in bitbucket?

bojannikolic October 12, 2016

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

 

1 answer

0 votes
ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events