From 05734138e8ec734161e39992fa0f953b8d2bbfd9 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Fri, 11 Mar 2022 13:07:46 -0800 Subject: [PATCH] docs: add cherry-picking to Git-comparison table --- docs/git-comparison.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/git-comparison.md b/docs/git-comparison.md index bc5285985..8f5d8db1f 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -203,6 +203,12 @@ parent. echo resolved > filename; git add filename; git rebase/merge/cherry-pick --continue + + Create a copy of a commit on top of another commit + jj duplicate <source>; jj rebase -r <duplicate commit> -d <destination> + (there's no single command for it yet) + git co <destination>; git cherry-pick <source> + List branches jj branches