From e4053ead64022925cd57011ac8b2c0dd1b75fa9c Mon Sep 17 00:00:00 2001 From: Matthew Davidson Date: Tue, 19 Mar 2024 18:19:27 +0800 Subject: [PATCH] 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. --- docs/git-comparison.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/git-comparison.md b/docs/git-comparison.md index 09e6f9beb..0d286425c 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -258,7 +258,7 @@ parent. Reorder changes from A-B-C-D to A-C-B-D - jj rebase -r C -d A; rebase -s B -d C (pass change IDs, + jj rebase -r C -d A; jj rebase -s B -d C (pass change IDs, not commit IDs, to not have to look up commit ID of rewritten C) git rebase -i A