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

DESCRIPTION

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

EXAMPLE

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