CmdID

CmdID / Commands

jj-file

Manage and inspect files in a jj repository. 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

Manage and inspect files in a jj repository. Some subcommands such as annotate, show, track, untrack, etc. have their own usage documentation.

List files tracked in the working copy

jj file listIdentify

Print the contents of a file in the working copy

jj file show path/to/fileIdentify

Print the contents of a file from another revision

jj file show --revision revset path/to/fileIdentify

Search for a pattern across tracked files

jj file search --pattern "pattern"Identify

Show line-by-line source change annotation for a file

jj file annotate path/to/fileIdentify

Track specified paths in the working copy

jj file track path/to/file_or_directoryIdentify

Stop tracking specified paths in the working copy

jj file untrack path/to/file_or_directoryIdentify

Set or remove the executable bit for a file

jj file chmod --executable path/to/fileIdentify