Leo <[email protected]> writes:

> I have magit.el from git 2 weeks ago. I am trying to use cherry-pick.
> Here is what I do.
>
> 1. List the history/log of a branch
> 2. Switch to a branch where I need the patches to apply to
> 3. Pick a commit in the history buffer and hit 'A'
>
> However this also immediately update the history buffer to current
> branch making subsequent cherry-pick impossible.
>
> I wonder if the above flow is incorrect or a bug in the design of
> cherry-pick in magit? Cheers.

That's what I do:

Let's suppose that I want to cherry-pick some commits from
other-branch into my-branch.

First, switch to "my-branch".

Then, C-u l my-branch [ENTER] other-branch [ENTER] (this shows the log
of commits which are on other-branch but not in my-branch.)

Finally, use `A' to cherry-pick the commits from the log.

HTH

Reply via email to