jj-duplicate
Create new changes with the same content as existing ones. tldr-pages
On several platforms
Several platforms
Duplicate the current revision onto its existing parent
jj duplicateIdentifyDuplicate a specific revision onto its existing parent
jj duplicate revsetIdentifyDuplicate a revision onto a different parent
jj duplicate --destination dest_revset revsetIdentifyDuplicate a revision and insert it after other revision(s)
jj duplicate --insert-after after_revset revsetIdentifyDuplicate a revision and insert it before other revision(s)
jj duplicate --insert-before before_revset revsetIdentifyDuplicate onto multiple parents (creates a merge commit)
jj duplicate --destination destination1 --destination destination2 revsetIdentifyDuplicate multiple revisions
jj duplicate revset1 revset2 ...Identify