CLI reference

heddle clone

Shipped
heddle clone [OPTIONS] <REMOTE> [LOCAL]

Download an existing repository into a local directory

Output text (default) · json

Arguments

<REMOTE> value required
Remote repository URL or path
[LOCAL] value optional
Local directory to clone into. Optional when the source has an unambiguous basename

Flags

--source <SOURCE>
Clone protocol (`git` or `heddle`). Failures are not retried on the other protocol values: git · heddle
--thread <THREAD>
Thread to check out after cloning
--depth <DEPTH>
Request a history depth. Hosted native clones currently accept only `0` (full history)
--lazy <LAZY> hidden
Request lazy blobs. Hosted native clones currently reject this planned mode values: true · false Accepted by the CLI, but absent from standard --help.
--insecure <INSECURE>
Allow cleartext (non-TLS) connections to non-loopback hosts values: true · false
--filter <SPEC> hidden
Request lazy blobs (`blob:none` only). Hosted native clones currently reject it Accepted by the CLI, but absent from standard --help.
--recursive <RECURSIVE>, --monorepo
Clone a whole hosted monorepo: resolve the root spool's child tree and clone every child spool at its anchored state into its mount path. Hosted/network remotes only. (Alias: --monorepo.) values: true · false
--op-id <OP_ID> hidden
Operation id (UUID v4) for idempotent retries. See `heddle help operation-ids` Accepted by the CLI, but absent from standard --help.