CmdID

CmdID / Commands

jj-duplicate

Create new changes with the same content as existing ones. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Duplicate the current revision onto its existing parent

jj duplicateIdentify

Duplicate a specific revision onto its existing parent

jj duplicate revsetIdentify

Duplicate a revision onto a different parent

jj duplicate --destination dest_revset revsetIdentify

Duplicate a revision and insert it after other revision(s)

jj duplicate --insert-after after_revset revsetIdentify

Duplicate a revision and insert it before other revision(s)

jj duplicate --insert-before before_revset revsetIdentify

Duplicate onto multiple parents (creates a merge commit)

jj duplicate --destination destination1 --destination destination2 revsetIdentify

Duplicate multiple revisions

jj duplicate revset1 revset2 ...Identify