Re: multiple-commit cherry-pick?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Nov 6, 2008, 21:37 UTC
- Message-ID
- <20081106213711.GA4334@blimp.localdomain>
- In-Reply-To
- <buoiqr18tdk.fsf@dhapc248.dev.necel.com>
Miles Bader, Thu, Nov 06, 2008 03:45:27 +0100:
Show 7 quoted lines
> Is there any easy way to cherry pick a _range_ of commits from some other > branch to the current branch, instead of just one? > > I thought maybe git-rebase could be coerced to do this somehow, but I > couldn't figure a way. [Using git-rebase would be nice because of all the > useful tools it provides, e.g., the --abort, --continue, and -i options.] >
git format-patch --full-index --binary --stdout <range...> | git am -3
This will not work if you want to pick a list, not a range, of commits.