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
argumentDirectory to walk into a file set.
blob
argumentOutput blob path, or '-' for stdout.
Optional
--no-gitignore
boolean default falseDo not honor .gitignore rules.
--include-git
boolean default falseInclude the .git directory.
--store
boolean default falseStore payloads uncompressed (default: snappy).
--json
boolean default falsePrint a JSON summary to stderr.