Alle Befehle · 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.

Aufruf

pm history compact [options] [id]

Argumente

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

Optionen

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

Beispiele

pm history compact --help

Verwandte Befehle