All commands · evidence
pm history redact
Redact sensitive literals/patterns from an item history stream and recompute hashes.
Redact sensitive literals/patterns from an item history stream and recompute hashes.
Usage
pm history redact [options] <id>Arguments
| <id> | Item id | required |
|---|
Options
| --literal <value> | Literal string to redact (repeatable) | optional |
|---|---|---|
| --regex <value> | Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern) | optional |
| --replacement <value> | Replacement string (default: "[redacted]") | optional |
| --dry-run | Preview redaction impact without writing item/history files | optional |
| --author <value> | Mutation author | optional |
| --message <value> | Audit history message for the redaction marker entry | optional |
| --force | Force ownership/lock override | optional |
Examples
pm history redact --help