Todos los comandos · evidence

pm history compact

Compact item history streams into a synthetic baseline plus retained tail entries. Pass an item id for one stream, or a bulk selector (--ids/--all-over/--closed/--all-streams) to compact many.

Compact item history streams into a synthetic baseline plus retained tail entries. Pass an item id for one stream, or a bulk selector (--ids/--all-over/--closed/--all-streams) to compact many.

Uso

pm history compact [options] [id]

Argumentos

<id>Item id (omit when using a bulk selector)opcional

Opciones

--before <value>Compact entries strictly before this version number or ISO timestamp (single-id mode only)opcional
--ids <value>Bulk IDs: comma/newline text, - stdin, or @path fileopcional
--all-over <n>Bulk: compact every stream with more than N entriesopcional
--closedBulk: compact only closed (terminal) items' streamsopcional
--all-streamsBulk: compact every history stream regardless of lifecycle stateopcional
--min-entries <n>Bulk: skip streams with at most N entries (already compact; default 3)opcional
--dry-runPreview compaction impact without writing the history fileopcional
--author <value>Mutation authoropcional
--message <value>Audit history message for the compaction marker entryopcional
--forceForce ownership/lock overrideopcional

Ejemplos

pm history compact --help

Comandos relacionados