Forums

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

how do i remove a commit from bitbucket server browse commits

Richard P
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!
July 21, 2018

i removed a commit from bitbucket but navigating to the commit is still possible. how can i remove it from the server. is it in the cache or the database? how can i remove it from those?

1 answer

0 votes
Rodrigo M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2018

Hello Richard!

We understand that you are looking for options to remove a previous commit. Reverting back to former commits can be tricky with Bitbucket if you are working on a shared repository.

The Undoing changes page describes how to revert the history of a Git repository.

In your case, it seems that a git reset or git rebase and then a git push --force <repository> <branch>.

Before running it, please make sure that this is working as expected since it can be a dangerous operation.


Regards,
Rodrigo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events