1.0.0
文档修订 2
ait remote — 完整参考
注册并列出远程权威,或从一个确切的远程 Repository 权威重建本地 Line head。
适用人群: Repository 所有者与恢复运维
作用边界#
用途: 注册并列出远程权威,或从一个确切的远程 Repository 权威重建本地 Line head。
影响类别: 注册和真正执行的恢复会改动状态;不带 apply 标志的恢复只是预览。
覆盖: ait remote 下共 4 个公开 help surface。
下面的代码块原样保留 1.0.0 二进制的输出,包含它给出的每一个参数、选项、 默认值、可选值、冲突关系和必填要求。
完整命令树#
ait remote
ait remote add
ait remote list
ait remote recover-head原样输出的 help#
ait remote#
二进制描述: Manage server endpoints and recover the canonical remote main head.
Manage server endpoints and recover the canonical remote main head.
Usage: ait remote <COMMAND>
Commands:
add Register a remote using the canonical Repository directory name.
list List configured remotes without contacting their servers.
recover-head Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print helpait remote add#
二进制描述: Register a remote using the canonical Repository directory name.
Register a remote using the canonical Repository directory name.
Usage: ait remote add [OPTIONS] <NAME> <URL>
Arguments:
<NAME> Local name used to select this remote.
<URL> Base URL of the AIT server.
Options:
--default Use this remote by default for both push and pull.
--json Emit the complete machine-readable JSON result.
-h, --help Print helpait remote list#
二进制描述: List configured remotes without contacting their servers.
List configured remotes without contacting their servers.
Usage: ait remote list [OPTIONS]
Options:
--json Emit the complete machine-readable JSON result.
-h, --help Print helpait remote recover-head#
二进制描述: Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.
Preview or atomically rebuild the exact remote main head and its full Snapshot ancestry.
Usage: ait remote recover-head [OPTIONS]
Options:
--remote <NAME> Read from this remote; otherwise use the configured default remote.
--jobs <JOBS> Use this many parallel pack downloads (1 through 64). [default: 8]
--apply Activate the reconstructed generation; omission performs a read-only preview.
--json Emit the complete machine-readable JSON result.
-h, --help Print help