It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cherry Picking on SourceTree?

Albert Cruz May 11, 2015

I've tried every instruction on Cherry Picking but I can't see that option when I right click on a SourceTree commit. Can someone give a real step-by-step guide instead of a vague "right click to Cherry Pick". I'm using Mercurial by the way.

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Seth May 12, 2015

I only use Git, but this is what it looks like. It shows up for me when right clicking any commit. It is visible but disabled when right clicking "Uncommitted changes".Capture.PNG

Seth May 12, 2015

In mercurial, it might be called "graft": http://selenic.com/hg/help/graft

Albert Cruz May 12, 2015

thanks so much. I tried it but I still confused. i have branch a and branch b, I created a commit from branch b and changed a line of code. I then grafted the commit I did and the changes I made aren't reflected on branch a.

Seth May 12, 2015

When you cherry-pick/graft a commit, a new commit will be created with the same changes on the branch that you have checked out. Did you checkout branch a before trying to cherry-pick the changes there?

Albert Cruz May 12, 2015

thank so much. finally made the graft, turns out there was a problem with my sourcetree and didn't show the push/pulls to be done until i restarted it. Thanks again

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

465 views 0 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you