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?

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

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

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

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.

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?

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
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,373 views 13 14
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