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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.