所有命令 · evidence

pm history redact

Redact and reseal item history.

Redact and reseal item history.

用法

pm history redact [options] <id>

参数

<id>Item id必填

选项

--literal <value>Literal; repeatable可选
--regex <value>Raw RegExp source (repeatable; e.g. /var/[a-z]+) or /pattern/flags. Leading-slash input is a literal only when the final unescaped slash is followed by supported JavaScript flag letters or nothing.可选
--replacement <value>Default: "[redacted]"可选
--dry-runPreview; no item/history edits可选
--author <value>Author可选
--message <value>Audit marker message可选
--forceOverride owner/lock可选

示例

pm history redact --help

相关命令