1.1.1
ait blame — 完整參考
把某個路徑或行區間歸因到已記錄的 Snapshot 與 Plan 沿革,並提供一個明確的有界恢復選項。
適用對象: 開發者與 coding agent
作用邊界#
用途: 把某個路徑或行區間歸因到已記錄的 Snapshot 與 Plan 沿革,並提供一個明確的有界恢復選項。
影響類別: 預設只讀;給出的 restore 選項會改動選定的工作區範圍。
覆蓋: ait blame 下共 1 個公開 help surface。
下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。
完整命令樹#
ait blame原樣輸出的 help#
ait blame#
二進位描述: Attribute selected lines without modifying workspace files.
Attribute selected lines without modifying workspace files.
Usage: ait blame [OPTIONS] <PATH>
Arguments:
<PATH>
Options:
--line <LINE>
Return blame for one line only.
--start <START_LINE>
Start line for a bounded blame range.
--end <END_LINE>
End line for a bounded blame range.
--snapshot <SNAPSHOT_ID>
Blame against one explicit immutable snapshot.
--via-parent <VIA_PARENT_SNAPSHOT_ID>
For an explicit merge Snapshot, follow this direct parent instead of the primary parent.
--patchset <PATCHSET_ID>
Resolve one exact published Patchset ID to its revision Snapshot before blaming.
--remote <REMOTE_NAME>
Remote to use when resolving --patchset.
--plan-id <PLAN_ID>
Select one current Markdown Plan when the same file path is tracked by multiple current Plans.
--plan-ref <PLAN_REF>
Select one current Markdown Plan by file selector or reference.
--json
-h, --help
Print help說明
標註所選行的歸屬,不修改工作區檔案。