mani repair

Use this if sync reports a corrupt local index, a false "already up to date", or phantom conflicts. Warning: repair adopts the server's version of every file — any un-pushed local edits are overwritten. Run mani sync first if you have local changes you want to keep.

Usage

mani repair [OPTIONS]

Options

mani repair --timing

Print a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone

mani repair --yes

Skip the confirmation prompt

mani repair --json

Emit a machine-readable result envelope instead of human text (works on every command). Success prints {"ok":true,"value":…}; failure prints {"ok":false,"error":{"code":…,"message":…}} with a differentiated exit code. Stable field names for scripting/agents

mani repair --quiet

Suppress progress and chatter — print only results and errors (alias: -q)

mani repair --no-color

Never colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal

mani repair --help

Print help (see a summary with '-h') (alias: -h)