jj-sparse
Manage which paths from the working-copy commit are present in the working copy. tldr-pages
On several platforms
Several platforms
List the patterns currently present in the working copy
jj sparse listIdentifyStart an editor to update the sparse patterns
jj sparse editIdentifyReset the patterns to include all files in the working copy
jj sparse resetIdentifyExclude all files from the working copy
jj sparse set --clearIdentifyUpdate patterns to only include specified paths
jj sparse set --clear --add path/to/directoryIdentifyAdd a path to the working copy
jj sparse set --add path/to/directoryIdentifyAdd multiple paths to the working copy
jj sparse set --add path/to/directory1 --add path/to/directory2IdentifyRemove a path from the working copy
jj sparse set --remove path/to/directoryIdentify