Hi,
Is there a plan to add a 'Revert' button to merged pull requests in bibucket as github now has (https://github.com/blog/1857-introducing-the-revert-button)?
This would be very useful for continuous integration / deployment workflows (especially as I can't revert a merge commit in sourcetree).
Thanks
Thanks Tim. I have added a feature request:
https://bitbucket.org/site/master/issue/10228/revert-pull-request-button
Hi Oliver,
Atlassian doesn't typically announce roadmap features ahead of time, but I can show you how to revert a merge commit in SourceTree. You have two options:
If the merge commit is already published and others may have pulled it:
You should create a reverse patch by right-clicking on the commit in the SourceTree log view and selecting "Reverse commit...".
If the merge commit is unpublished (or you're working by yourself) and is the most recent commit:
You could reset your branch to the commit before the merge occurred (removing the merge from history) by right-clicking on the commit that you want to make the new head of your branch and selecting "Reset <branchname> to this commit".
cheers,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can't actually revert merge commit in Sourcetree because the Reverse commit command doesn't add the -m parameter.
See https://answers.atlassian.com/questions/322639/how-can-i-revert-a-merge-commit-in-sourcetree
Olly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, my bad. I've voted for the issue :)
The best option is to revert the merge manually then, as you suggested in the linked question.
In the meantime, you could raise a feature request for reverting PRs in the Bitbucket issue tracker: https://bitbucket.org/site/master/issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.