LinuxCommandLibrary

jj-duplicate

creates copies of revisions

TLDR

Duplicate current revision

$ jj duplicate
copy
Duplicate specific revision
$ jj duplicate [revision]
copy
Duplicate multiple revisions
$ jj duplicate [rev1] [rev2]
copy

SYNOPSIS

jj duplicate [revisions...]

DESCRIPTION

jj duplicate creates copies of revisions. The duplicated commits have identical content but new change IDs. Useful for creating variations or preserving commits before modification.

SEE ALSO

jj(1), jj-new(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community