1OSTREE PULL(1)                    ostree pull                   OSTREE PULL(1)
2
3
4

NAME

6       ostree-pull - Download data from a remote repository
7

SYNOPSIS

9       ostree pull {REMOTE} [BRANCH]
10

OPTIONS

12       --commit-metadata-only
13           Fetch only the commit metadata.
14
15       --disable-fsync
16           Do no invoke fsync().
17
18       --localcache-repo
19           Like git's clone --reference. Reuse the provided OSTree repo as a
20           local object cache when doing HTTP fetches. May be specified
21           multiple times.
22
23       --untrusted
24           Do not trust local sources, verify checksums and don't hardlink
25           into source.
26
27       --disable-static-deltas
28           Do not use static deltas.
29
30       --mirror
31           Write refs suitable for a mirror, i.e. refs are stored in the
32           heads/ directory rather than the remotes/ directory. This makes the
33           target repo suitable to be exported for other clients to pull from
34           as an ostree remote. If no specific refs are specified, all refs
35           will be fetched (the remote must have a summary file present).
36
37       --subpath=SUBPATH
38           Only pull the provided subpath.
39
40       --depth=DEPTH
41           Traverse DEPTH parents (-1=infinite) (default: 0).
42
43       --network-retries=N
44           Specifies how many times each download should be retried upon error
45           (default: 5)
46
47       --disable-verify-bindings
48           Disable verification of commit metadata bindings.
49

DESCRIPTION

51       Without --mirror, this command will create new refs under
52       remotes/REMOTE/ directory for each pulled branch unless they are
53       already created. Such refs can be then referenced by REMOTE:BRANCH in
54       ostree subcommands (e.g.  ostree log origin:exampleos/x86_64/standard).
55
56       This command can retrieve just a specific commit, or go all the way to
57       performing a full mirror of the remote repository. If no BRANCH is
58       specified, all configured branches are retrieved.
59
60       A special syntax in the @ character allows specifying a specific commit
61       to retrieve from a branch. The use cases for this are somewhat similar
62       to pulling a specific git tag; one could e.g. script a system upgrade
63       to a known-good version, rather than the latest from the content
64       provider.
65

EXAMPLE

67       $ ostree --repo=repo pull --depth=-1 --mirror remote_name
68
69       Perform a complete mirror of the remote. (This is likely most useful if
70       your repository is also archive mode)
71
72       $ ostree --repo=repo pull remote_name exampleos/x86_64/standard
73
74       Fetch the most recent commit to exampleos/x86_64/standard.
75
76       $ ostree --repo=repo pull remote_name
77       exampleos/x86_64/standard@98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4
78
79       Download the specific commit starting with 98ea6e as if it was the
80       latest commit for exampleos/x86_64/standard.
81
82
83
84OSTree                                                          OSTREE PULL(1)
Impressum