The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I delete remote commit in bitbucket?

bojannikolic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events