-
Suppose I have a linear graph of commits:
I would like to insert
I know I can do this with Does git-branchless support this operation directly? Or do I need to do
and then |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks to @claytonrcarter, in the latest In this case, |
Beta Was this translation helpful? Give feedback.
Thanks to @claytonrcarter, in the latest
master
, you can rungit move -I -x d -d a
(git move --insert --exact d --dest a
) to insertd
just aftera
.In this case,
--exact
is the same as--source
, but it would be different ifd
had a descendant commit that you didn't want to move. I'm guessing that for rearranging workflows, you probably want to use--exact
instead of--source
.