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:
Matthew Davidson 2024-03-19 18:19:27 +08:00 committed by Martin von Zweigbergk
parent f865c1bc5d
commit e4053ead64

View file

@ -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>