HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

jj diffedit — Touch up the content changes in a revision with a diff editor. More information: <https://docs.jj-vc

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandjj diffeditcontentclichangestouchrevision

Problem

How to use the jj diffedit command: Touch up the content changes in a revision with a diff editor. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-diffedit>.

Solution

jj diffedit — Touch up the content changes in a revision with a diff editor. More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-diffedit>.

Edit changes in the current revision with a diff editor:
jj diffedit


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

Code Snippets

Edit changes in the current revision with a diff editor

jj diffedit

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}}

Context

tldr-pages: common/jj diffedit

Revisions (0)

No revisions yet.