所有命令 · 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-run | Preview; no item/history edits | 可选 |
| --author <value> | Author | 可选 |
| --message <value> | Audit marker message | 可选 |
| --force | Override owner/lock | 可选 |
示例
pm history redact --help