Björn Steinbrink [off-list ref] writes:
git reset --hard C
git rebase --onto ORIG_HEAD A^
Is that safe...? Doesn't git-rebase also set ORIG_HEAD?
-Miles
--
Twice, adv. Once too often.
On 2008.11.06 21:14:18 +0900, Miles Bader wrote:
Björn Steinbrink [off-list ref] writes:
quoted
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