1OSTREE CHECKOUT(1) ostree checkout OSTREE CHECKOUT(1)
2
3
4
6 ostree-checkout - Check out a commit into a filesystem
7
9 ostree checkout [OPTIONS...] {COMMIT} [DESTINATION]
10
12 Checks out the given commit into the filesystem under directory
13 DESTINATION. If DESTINATION is not specified, the COMMIT will become
14 the destination checkout target. If COMMIT destination already exists,
15 command will error unless --union option is selected.
16
18 --user-mode, -u
19 Do not change file ownership or initialize extended attributes.
20
21 --subpath="PATH"
22 Checkout sub-directory PATH.
23
24 --union
25 Keep existing directories and unchanged files, overwrite existing
26 files.
27
28 --union-add
29 Keep existing directories and files.
30
31 --union-identical
32 Like --union, but error out if a file would be replaced with a
33 different file. Add new files and directories, ignore identical
34 files, and keep existing directories. Requires -H.
35
36 --allow-noent
37 Do nothing if specified path does not exist.
38
39 --from-stdin
40 Process many checkouts from standard input.
41
42 --from-file="FILE"
43 Process many checkouts from input file.
44
46 $ ostree checkout my-branch
47
48 $ ls
49
50 file1 file2 my-branch
51
52
53
54OSTree OSTREE CHECKOUT(1)