diff --git a/docs/git-comparison.md b/docs/git-comparison.md index d63b9f34c..4bbf8d7b1 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -226,6 +226,11 @@ parent. jj squash/amend -i git add -p; git commit --amend + + Move the diff in the working copy into an ancestor + jj move --to X + git commit --fixup=X; git rebase -i --autosquash X^ + Interactively move part of the diff in an arbitrary change to another arbitrary change