浏览 1.1.1 文档
1.1.1

ait pull — 完整参考

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

适用人群: 开发者与 coding agent

作用边界#

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

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

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

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

完整命令树#

代码 · 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.

代码 · 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 restore the resulting files; requires --restore and a clean workspace.

      --restore
          Restore the pulled Line's files 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')

说明

导入所选远程 Line 可达的 Snapshot 链,并安全地创建或快进其本地 Line。省略时使用配置的默认远程和当前本地 Line。除非提供 --restore,工作区文件保持不变。

版本权威

对照 1.1.1 源码逐条核对

这一页是公开文档,不是第二份产品契约。要确认发布权威,请以确切的源码和分发契约为准。

所属组件 Snapshot
  • ait-coreSNP-ED7593DBF982
  • ait-serverSNP-0CCD7DD2A077
  • ait-runnerSNP-35C9C133D2EE
  • ait-pythonSNP-756C731A4CC0
  • ait-nodeSNP-55E90D0A81F1