jj-file
inspects and manages files in a Jujutsu repository
TLDR
SYNOPSIS
jj file subcommand [options]
DESCRIPTION
jj file groups file operations in a Jujutsu repository: listing, showing, searching, annotating, tracking, and changing the executable bit. Most subcommands take a fileset and default to the working-copy commit (@). Use -r / --revision on annotate, chmod, list, search, and show to operate on another revision.Unlike Git, the working copy is a first-class commit, so these commands read and update that commit rather than an index. New files are tracked automatically unless snapshot.auto-track is narrowed; track and untrack then become the manual controls.
PARAMETERS
annotate PATH
Show the source change for each line of a file.chmod MODE FILESETS...
Set or clear the executable bit. MODE is x (executable) or n (non-executable).list [FILESETS...]
List files in a revision (default: working-copy commit @).search --pattern PATTERN [FILESETS...]
Search file contents for a string pattern.show FILESETS...
Print file contents from a revision.track FILESETS...
Start tracking specified paths in the working copy.untrack FILESETS...
Stop tracking specified paths. They must already be ignored.
INSTALL
CAVEATS
Subcommand of jj. untrack only accepts paths that are already ignored (for example by `.gitignore`). search is an early command and does not search files concurrently. Template syntax is Jujutsu-specific; see `jj help -k templates`.
SEE ALSO
jj(1), jj-file-list(1), jj-file-show(1), jj-file-search(1), jj-file-annotate(1), jj-diff(1)
