浏览 1.0.0 文档
1.0.0 文档修订 2

ait pull — 完整参考

导入远程 Line 的 Snapshot 历史,判定 head 之间的关系,并可选地物化选定的结果。

适用人群: 开发者与 coding agent

作用边界#

用途: 导入远程 Line 的 Snapshot 历史,判定 head 之间的关系,并可选地物化选定的结果。

影响类别: 导入会改动本地权威;merge 和 restore 选项还可能改变 Line 或工作区状态。

覆盖: ait pull 下共 1 个公开 help surface。

下面的代码块原样保留 1.0.0 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。

完整命令树#

Code · text
ait pull

原样输出的 help#

ait pull#

二进制描述: Import the selected remote Line's reachable Snapshot chain and safely create or fast-forward its local Line. The configured default remote and current local Line are used when omitted. Workspace files remain unchanged unless --restore is supplied.

Code · text
Import the selected remote Line's reachable Snapshot chain and safely create or fast-forward its local Line. The configured default remote and current local Line are used when omitted. Workspace files remain unchanged unless --restore is supplied.

Usage: ait pull [OPTIONS]

Options:
      --remote <REMOTE>
          Use this configured remote; defaults to the repository's default remote.

      --line <LINE>
          Import this remote Line and safely create or fast-forward its local Line; defaults to the current local Line.

      --merge
          Merge a divergent imported remote head into the current local Line and materialize the result; requires --restore and a clean workspace.

      --restore
          Materialize the pulled Line into the workspace and select that Line; rejected when the local Line is ahead of the remote.

      --force
          Allow --restore to overwrite local workspace changes; requires --restore and cannot be used with --merge.

      --json
          Emit the pull result as machine-readable JSON.

  -h, --help
          Print help (see a summary with '-h')

Version authority

Checked against the exact 1.0.0 source

This page is public documentation, not a second product contract. Use the exact source and distribution contract for release authority.

Owning component Snapshots
  • ait-coreSNP-B06A48DA0245
  • ait-serverSNP-E90456E6425E
  • ait-runnerSNP-6B0A1BB3AFAD
  • ait-pythonSNP-973E3BFAF3DE
  • ait-nodeSNP-F962CC66AA62