ait diff — Complete Reference
Compare the current workspace with recorded state using optional bounded path and output filters.
Audience: Users and coding agents
Operating boundary#
Purpose: Compare the current workspace with recorded state using optional bounded path and output filters.
Effect class: Read-only inspection.
Coverage: 1 public help surface under ait diff.
The blocks below preserve the 1.1.1 binary output in full, including every emitted argument, option, default, possible value, conflict, and requirement.
Complete command tree#
ait diffExact emitted help#
ait diff#
Binary description: Compare the current workspace with the current Line head without changing repository data or workspace files. With no output option, emit a unified text diff. Use --json for stable machine-readable output, --stat for per-file text statistics, or --name-only for the ordered changed-path list. Positional PATH values select specific workspace-relative files or directory subtrees using lexical matching, not globs.
Compare the current workspace with the current Line head without changing repository data or workspace files. With no output option, emit a unified text diff. Use --json for stable machine-readable output, --stat for per-file text statistics, or --name-only for the ordered changed-path list. Positional PATH values select specific workspace-relative files or directory subtrees using lexical matching, not globs.
Usage: ait diff [OPTIONS] [PATH]...
Arguments:
[PATH]...
Limit the comparison to an exact workspace-relative file or directory subtree. Repeat PATH to combine lexical filters; glob syntax is not supported.
Options:
--json
Emit the stable machine-readable workspace diff.
--stat
Emit per-file text statistics.
--name-only
Emit only the ordered changed-path list.
-h, --help
Print help (see a summary with '-h')