Artifact 50b278ad608743bf2a8ca6c95aaacb1d45ffec82e0e70087f5a1ce626c71356d:
- File
docs/site/content/docs/reference/cli/repo-clone.md
— part of check-in
[d7fd910ffc]
at
2026-10-23 21:12:43
on branch main
— docs: generate the site's data, CLI reference and llms.txt from the code
tools/docsgen/engine records one check-in as an artifact, as its derived rows and as the cards of a pull, from a real engine run with fixed inputs. tools/docsgen/conformance turns TestCoverage's report into per-draft and per-requirement data. scripts/gen-cli-docs.sh writes one page per command group from the libfossil binary's --help. gen-llms-txt.sh and check-llms-txt.sh are ported from dagnats, and sync-version.sh now takes the highest release tag and writes the go.mod version too.
scripts/check-docs-generated.sh regenerates everything into a scratch dir and fails on any difference; make docs-check and the test-docs CI job run it. (user: [email protected], size: 2553) [annotate] [blame] [check-ins using] [more...]
title: 'repo clone' weight: 20 generated: true
description: 'Clone a remote repository'
<!-- Generated by scripts/gen-cli-docs.sh from the libfossil --help output. Do not edit; change the help text in cli/ and run make docs-gen. -->Usage: libfossil repo clone [<url> [<path>]] [flags]
Clone a remote repository
Arguments:
[<url>] Remote Fossil server URL
[<path>] Local path for new repository file
Flags:
-h, --help Show context-sensitive help.
-R, --repo=STRING Path to repository file
-v, --verbose Verbose output
-u, --user=STRING Username for clone auth
-p, --pass=STRING Password for clone auth
--invite=STRING Invite token (from fossil invite)
--timeout=10m Abort the clone if it runs longer than this;
0 disables the deadline
--horizon=STRING Clone a horizon store: elide blobs below
this check-in, given as its full 40 or 64
digit hash; what each rule would hold needs a
local repository ('repo cone cost') or a peer
that exposes it out of band, as the origin's
horizon-served URL may
--leaves With --horizon, also hold every open leaf's
ancestry back to the check-in, for merging
across live branches offline; costly: on a
repository with old unmerged branches that is
nearly the whole history
--structural With --horizon, also elide the manifests below
the check-in, deriving their branch and tag
state from the origin's seed
--cone=CONE,... Clone a sparse store: fetch only this path's
subtree (repeatable)
--cone-not=CONE-NOT,... Carve this path out of a --cone (repeatable)
--seed-key=STRING The origin's public key, an SSH public key line
or an OpenPGP fingerprint: with --structural, a
horizon seed not signed by it is discarded and
the clone falls back to the content horizon;
kept as the horizon-seed-key setting