Sourcetree cherry pick error

I have tried to cherry pick a commit but it never works, I always get this error message:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree cherry-pick 1ff4d770a1d6316b54b9718a56b36672036d593c
error: Commit 1ff4d770a1d6316b54b9718a56b36672036d593c is a merge but no -m option was given.
fatal: cherry-pick failed
Completed with errors, see above

Any idea what is causing this problem and what I can do to correct it?

2 answers

1 accepted

This widget could not be displayed.

This is (the lack of) a feature: cherry-picking/reverting merge commits is currently not possible in SourceTree.

I already created an issue about it. Please upvote it here.

Thanks for the reply – I will upvote your issue.

So then what is cherry-picking, and why does SourceTree have a command that does nothing?

"Given one or more existing commits, apply the change each one introduces, recording a new commit for each." (= duplicate a commit to another branch, in most cases)

SourceTree does implement this correctly, but only for commits which are not merge commits (= commits with multiple parents in the graph).

This widget could not be displayed.

Can anyone shed light on this? I don't understand what is wrong.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

244 views 14 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you