Copying a range of commits from one branch to another
suggest changegit cherry-pick <commit-A>..<commit-B>
will place every commit after A and up to and including B on top of the currently checked-out branch.
git cherry-pick <commit-A>^..<commit-B>
will place commit A and every commit up to and including B on top of the currently checked-out branch.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents