jj fix
Update files with formatting fixes or other content transformations. Revisions can be reviewed afterwards with
jj op show -p. More information: https://docs.jj-vcs.dev/latest/cli-reference/#jj-fix.
- Fix changed files in all mutable revisions connected to the working-copy commit:
jj fix
- Fix changed files in the specified revision(s) and their descendants:
jj fix
- Fix files only in the working-copy commit:
jj fix @
- Fix only a specific file or directory:
jj fix
- Fix all lines instead of only modified lines:
jj fix
- Format all lines in a specific file:
jj fix
- Fix unchanged files in addition to changed ones across the entire repository:
jj fix --include-unchanged-files
- Fix unchanged files in addition to changed ones for specific paths:
jj fix --include-unchanged-files
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
