所有命令 · workspace
pm workspace merge
Manage tracker merges.
Manage tracker merges.
用法
pm workspace merge [options] <subcommand> [artifact] [base] [ours] [theirs]参数
| <subcommand> | install | reconcile | report | driver | 必填 |
|---|---|---|
| <artifact> | driver: item | history | relationship | json | 可选 |
| <base> | driver: ancestor file (%O) | 可选 |
| <ours> | driver: current file (%A) | 可选 |
| <theirs> | driver: incoming file (%B) | 可选 |
选项
| --dry-run | install/reconcile: preview | 可选 |
|---|---|---|
| --pre-commit-hook | install: opt into merge settlement hook | 可选 |
| --stage | reconcile: stage lossless audit evidence | 可选 |
| --message <text> | reconcile: audit message | 可选 |
| --force | reconcile: accept reviewed decisions | 可选 |
| --include-reconciled | report: include settled receipts | 可选 |
| --output <path> | driver: alternate output | 可选 |
| --item-path <path> | driver: repository-relative path (%P) | 可选 |
| --prefer <side> | driver: ours|theirs (default ours) | 可选 |
示例
pm workspace merge --help