Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do git cherry-pick --continue in SourceTree?

How do I continue cherry picking using SourceTree after I resolved conflicts?

If I am doing rebase and I get conflicts then after resolving them when I click commit SourceTree lets me continue that rebase. But how to continue cherry pick operation?

like image 317
szym Avatar asked Aug 14 '14 11:08

szym


People also ask

How do I continue git cherry pick after resolving conflicts?

This means if you get any conflicts during cherry-pick ing you need to commit after resolving them to finish the cherry-pick . EDIT Edward noted that this is only true when you are cherry-pick ing a single commit. When picking multiple commits you can run git cherry-pick --continue from the console.


1 Answers

cherry-pick effectively applies the changes from commit A onto the working tree and makes a commit. This means if you get any conflicts during cherry-picking you just need to commit after resolving them to finish the cherry-pick.

EDIT Edward noted that this is only true when you are cherry-picking a single commit. When picking multiple commits you can run git cherry-pick --continue from the console. I'm not sure if you can do this directly via SourceTree.

like image 73
Sascha Wolf Avatar answered Sep 28 '22 01:09

Sascha Wolf