From: Björn Steinbrink Date: Thu, 06 Nov 2008 12:26:58 GMT Subject: Re: multiple-commit cherry-pick? Message-ID: <20081106122658.GB4192@atjola.homenet> In-Reply-To: On 2008.11.06 21:14:18 +0900, Miles Bader wrote: > Björn Steinbrink 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