mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue