Re: multiple-commit cherry-pick?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: multiple-commit cherry-pick?

From: Miles Bader <hidden>
Date: 2016-06-15 22:45:36

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.

Re: multiple-commit cherry-pick?

From: Björn Steinbrink <hidden>
Date: 2016-06-15 22:45:36

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help