repo:diff

Compare committed local history or the complete pending staged result without contacting a service.

Reference for flywheel repo:diff.

Use repo:diff --staged to review complete net node, relationship, tag, artifact, and reference changes before explicitly running repo:commit. It captures the real nullable base_head, exact staging_digest, and complete deterministic Before/After changes without network access, artifact-byte reads, or mutation. Before the first commit the base is empty and base_head is null; empty staging and net cancellations produce no changes. A null side means an absent entity, not a nullable field. JSON and structured formats preserve complete values and repository numbers. Do not combine --staged with --base or --head. Unflagged repo:diff remains the committed-history comparison. Review again after changing the batch or head; the captured view is not a reservation. Invalid batches fail with the first operation's ID, type, entity, and reason and remain saved. Commit records local history; only a separate push publishes it. Projection reads remain committed-only by default; add --staged to one of the ten supported graph reads to inspect saved pending state before a local commit.

Command Group

Local Repository

Summary

Compare committed local history or the complete pending staged result without contacting a service.

Usage

flywheel repo:diff [FLAGS]

Required flags

None.

Optional flags

FlagValueDefaultChoicesDescription
--repostringLocal repository filesystem path.
--personalUse the configured personal repository.
--basestringBase commit ID; cannot be combined with --staged.
--headstringHead commit ID; cannot be combined with --staged.
--stagedCompare the current committed base to the complete pending graph result.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Compare committed local history or the complete pending staged result without contacting a service.

flywheel repo:diff --format=json