How to use Cherry Pick in SourceTree?

Cherry Picking in Git is really useful. But how do you use Cherry Pick in SourceTree to select the specific commit to merge into another branch?

1 answer

1 accepted

5 votes
Accepted answer

First checkout the destination branch, then right click on the commit you want to cherry pick and select Cherry Pick.

You can right-click on the commit you want in the log/history view.

Ensure 'All Branches' is selected from the dropdown list

image2016-11-14 17:15:1.png

You are then able to select the commit (highlighted) from a given source branch.  This had me baffled for a while - doh!

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

844 views 3 2
Read article

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