commands.sh

jj diffedit

all

Touch up the content changes in a revision with a diff editor.

More info →

Options (3)

-r, --revisionboolean

Edit changes in a given revision

Example: jj diffedit {{[-r|--revision]}} {{revset}}
-f, --fromboolean

Edit changes comparing a "from" revision to a "to" revision

Example: jj diffedit {{[-f|--from]}} {{from_revset}} {{[-t|--to]}} {{to_revset}}
-t, --toboolean

Edit changes comparing a "from" revision to a "to" revision

Example: jj diffedit {{[-f|--from]}} {{from_revset}} {{[-t|--to]}} {{to_revset}}

Examples (6)

Edit changes in the current revision with a diff editor

Edit changes in a given revision

jj diffedit [-r|--revision] revset

Edit changes comparing a "from" revision to a "to" revision

jj diffedit [-f|--from] from_revset [-t|--to] to_revset

Edit only specific paths (unmatched paths remain unchanged)

jj diffedit filesets

Use a specific diff editor

jj diffedit --tool name

Preserve content instead of diff when rebasing descendants

jj diffedit --restore-descendants
made by @shridhargupta | data from tldr-pages