Thread (12 messages) flat view 12 messages, 4 authors, 2016-06-15

Re: Editing the root commit

From: Chris Webb <hidden>
Date: 2016-06-15 22:54:09

Possibly related (same subject, not in this thread)

Jeff King [off-list ref] writes:
But if the first commit is deleted (or reordered), then it is not
appropriate to detach to the root; we must detach to the first picked
commit, which we can only do after we see the final instruction sheet.
It's worse than that isn't it? If you have

  A -- B -- C

and the sheet says drop A, pick B, pick C, you can't detach to B. You want
the commit B as a root (i.e. with no parent), not the commit B with parent
A. You need to have the patch from A to B replayed as the first commit on an
empty branch (only without the branch).

Cheers,

Chris.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help