CmdID

CmdID / Commands

jj-fix

Update files with formatting fixes or other content transformations. 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

Update files with formatting fixes or other content transformations. Revisions can be reviewed afterwards with jj op show -p.

Fix changed files in all mutable revisions connected to the working-copy commit

jj fixIdentify

Fix changed files in the specified revision(s) and their descendants

jj fix --source revsetsIdentify

Fix files only in the working-copy commit

jj fix --source @Identify

Fix only a specific file or directory

jj fix path/to/file_or_directoryIdentify

Fix all lines instead of only modified lines

jj fix --all-linesIdentify

Format all lines in a specific file

jj fix --all-lines path/to/fileIdentify

Fix unchanged files in addition to changed ones across the entire repository

jj fix --include-unchanged-filesIdentify

Fix unchanged files in addition to changed ones for specific paths

jj fix --include-unchanged-files path/to/file_or_directoryIdentify