jj-fix
Update files with formatting fixes or other content transformations. tldr-pages
On several platforms
Several platforms
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 fixIdentifyFix changed files in the specified revision(s) and their descendants
jj fix --source revsetsIdentifyFix files only in the working-copy commit
jj fix --source @IdentifyFix only a specific file or directory
jj fix path/to/file_or_directoryIdentifyFix all lines instead of only modified lines
jj fix --all-linesIdentifyFormat all lines in a specific file
jj fix --all-lines path/to/fileIdentifyFix unchanged files in addition to changed ones across the entire repository
jj fix --include-unchanged-filesIdentifyFix unchanged files in addition to changed ones for specific paths
jj fix --include-unchanged-files path/to/file_or_directoryIdentify