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