LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jj-file-track

starts tracking specified paths in the Jujutsu working copy

TLDR

Track all non-ignored untracked files
$ jj file track
copy
Track a file or directory
$ jj file track [path/to/file]
copy
Track several paths
$ jj file track [path/to/file1] [path/to/directory]
copy
Track a path even if it is ignored or too large
$ jj file track --include-ignored [path/to/file]
copy

SYNOPSIS

jj file track [--include-ignored] [filesets...]

DESCRIPTION

jj file track starts tracking specified paths in the working copy so they are snapshotted into the working-copy commit.By default new files are tracked automatically (`snapshot.auto-track` is `all()`), so this command does nothing until that setting is narrowed (for example to `"none()"` or `"glob:**/*.rs"`). Paths that fall outside the auto-track pattern can then be added with this command.

PARAMETERS

FILESETS

Paths to start tracking. With no filesets, every non-ignored untracked path is tracked.
--include-ignored
Track paths even when they match .gitignore or exceed the maximum file size.

INSTALL

sudo pacman -S jujutsu
copy
sudo apk add jujutsu
copy
sudo zypper install jujutsu
copy
brew install jujutsu
copy
nix profile install nixpkgs#jujutsu
copy

CAVEATS

Subcommand of jj. Ignored files and files over the size limit are skipped unless --include-ignored is given. Tracking is a working-copy operation; it is not the same as jj bookmark track.

SEE ALSO

RESOURCES

Copied to clipboard
Kai