Reference

fileset create

Walk <root> into a deterministic, content-addressable FileSet and write its blob to <blob> ('-' for stdout). A FileSet records only relative paths, permission bits, sizes, and short content hashes, with snappy-compressed (or stored) payloads. By default .gitignore is respected and the .git directory is skipped.

Required

root

argument

Directory to walk into a file set.

blob

argument

Output blob path, or '-' for stdout.

Optional

--no-gitignore

boolean default false

Do not honor .gitignore rules.

--include-git

boolean default false

Include the .git directory.

--store

boolean default false

Store payloads uncompressed (default: snappy).

--json

boolean default false

Print a JSON summary to stderr.