Man page - ostree-pull(1)
Packages contas this manual
- ostree-admin-stateroot-init(1)
- ostree-admin-unlock(1)
- ostree-init(1)
- ostree-pull(1)
- ostree-refs(1)
- ostree-commit(1)
- ostree-gpg-sign(1)
- ostree.repo-config(5)
- ostree-admin-undeploy(1)
- ostree-fsck(1)
- ostree(1)
- ostree-admin-status(1)
- ostree-export(1)
- ostree-config(1)
- ostree-admin-pin(1)
- ostree.repo(5)
- rofiles-fuse(1)
- ostree-create-usb(1)
- ostree-summary(1)
- ostree-log(1)
- ostree-admin-config-diff(1)
- ostree-checksum(1)
- ostree-checkout(1)
- ostree-admin-lock-finalization(1)
- ostree-admin(1)
- ostree-sign(1)
- ostree-pull-local(1)
- ostree-admin-cleanup(1)
- ostree-reset(1)
- ostree-ls(1)
- ostree-admin-set-origin(1)
- ostree-admin-init-fs(1)
- ostree-show(1)
- ostree-cat(1)
- ostree-admin-instutil(1)
- ostree-prune(1)
- ostree-remote(1)
- ostree-admin-os-init(1)
- ostree-prepare-root(1)
- ostree-admin-set-default(1)
- ostree-rev-parse(1)
- ostree-admin-post-copy(1)
- ostree-admin-upgrade(1)
- ostree-admin-switch(1)
- ostree-static-delta(1)
- ostree-diff(1)
- ostree-admin-deploy(1)
- ostree-find-remotes(1)
apt-get install ostree
Manual
| OSTREE PULL(1) | ostree pull | OSTREE PULL(1) |
NAME
ostree-pull - Download data from a remote repository
SYNOPSIS
ostree pull {REMOTE} [BRANCH]
OPTIONS
--commit-metadata-only
--cache-dir=DIR
--disable-fsync
--localcache-repo
--untrusted
--disable-static-deltas
--mirror
--subpath=SUBPATH
--depth=DEPTH
--network-retries=N
--disable-retry-on-network-errors
--low-speed-limit-bytes=N
--low-speed-time-seconds=N
--max-outstanding-fetcher-requests=N
--disable-verify-bindings
DESCRIPTION
Without --mirror, this command will create new refs under remotes/REMOTE/ directory for each pulled branch unless they are already created. Such refs can be then referenced by REMOTE:BRANCH in ostree subcommands (e.g. ostree log origin:exampleos/x86_64/standard).
This command can retrieve just a specific commit, or go all the way to performing a full mirror of the remote repository. If no BRANCH is specified, all configured branches are retrieved.
A special syntax in the @ character allows specifying a specific commit to retrieve from a branch. The use cases for this are somewhat similar to pulling a specific git tag; one could e.g. script a system upgrade to a known-good version, rather than the latest from the content provider.
EXAMPLE
$ ostree --repo=repo pull --depth=-1 --mirror remote_name
Perform a complete mirror of the remote. (This is likely most useful if your repository is also archive mode)
$ ostree --repo=repo pull remote_name exampleos/x86_64/standard
Fetch the most recent commit to exampleos/x86_64/standard.
$ ostree --repo=repo pull remote_name exampleos/x86_64/standard@98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4
Download the specific commit starting with 98ea6e as if it was the latest commit for exampleos/x86_64/standard.
| OSTree |