所有命令 · 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.

用法

pm history redact [options] <id>

参数

<id>Item id必填

选项

--literal <value>Literal string to redact (repeatable)可选
--regex <value>Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern)可选
--replacement <value>Replacement string (default: "[redacted]")可选
--dry-runPreview redaction impact without writing item/history files可选
--author <value>Mutation author可选
--message <value>Audit history message for the redaction marker entry可选
--forceForce ownership/lock override可选

示例

pm history redact --help

相关命令