Re: multiple-commit cherry-pick?
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- Nov 6, 2008, 12:26 UTC
- Message-ID
- <20081106122658.GB4192@atjola.homenet>
- In-Reply-To
- <buozlkd6oh1.fsf@dhapc248.dev.necel.com>
On 2008.11.06 21:14:18 +0900, Miles Bader wrote:
Show 5 quoted lines
> Björn Steinbrink <B.Steinbrink@gmx.de> writes: > > git reset --hard C > > git rebase --onto ORIG_HEAD A^ > > Is that safe...? Doesn't git-rebase also set ORIG_HEAD?
One of the first things rebase does is validating and resolving its arguments. And that's happening before any actions that would touch ORIG_HEAD. Though I'm not sure if it's always been like that.
Björn