LinuxCommandLibrary

jj-diffedit

opens a diff editor to interactively modify the changes in a revision

TLDR

Edit revision in diff editor

$ jj diffedit
copy
Edit specific revision
$ jj diffedit -r [revision]
copy
Edit range between revisions
$ jj diffedit --from [rev1] --to [rev2]
copy

SYNOPSIS

jj diffedit [options]

DESCRIPTION

jj diffedit opens a diff editor to interactively modify the changes in a revision. Allows adding, removing, or changing hunks in a commit. The editor shows the diff and saves modifications back to the revision.

PARAMETERS

-r, --revision rev

Revision to edit.
--from rev
Base revision for comparison.
--to rev
Target revision to modify.

SEE ALSO

jj(1), jj-diff(1), jj-split(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community