mirror of
https://github.com/martinvonz/jj.git
synced 2024-09-11 05:45:30 +03:00
docs: Add missing "jj" to swap rebase example
`jj rebase -r C -d A; rebase -s B -d C` is missing the second jj. Although it would be cool if jj had syntax to chain commands like this, so I could write a "swap" alias.
This commit is contained in:
parent
f865c1bc5d
commit
e4053ead64
@ -258,7 +258,7 @@ parent.
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reorder changes from A-B-C-D to A-C-B-D</td>
|
||||
<td><code>jj rebase -r C -d A; rebase -s B -d C</code> (pass change IDs,
|
||||
<td><code>jj rebase -r C -d A; jj rebase -s B -d C</code> (pass change IDs,
|
||||
not commit IDs, to not have to look up commit ID of rewritten C)</td>
|
||||
<td><code>git rebase -i A</code></td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user