jj-file-track
starts tracking specified paths in the Jujutsu working copy
TLDR
Track all non-ignored untracked files
$ jj file track
Track a file or directory$ jj file track [path/to/file]
Track several paths$ jj file track [path/to/file1] [path/to/directory]
Track a path even if it is ignored or too large$ jj file track --include-ignored [path/to/file]
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
sudo apk add jujutsu
sudo zypper install jujutsu
brew install jujutsu
nix profile install nixpkgs#jujutsu
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
jj-file(1), jj-file-untrack(1), jj-file-list(1), git-add(1), jj(1)
