ostree-checkout man page

ostree-checkout — Check out a commit into a filesystem


ostree checkout [Options...] {COMMIT} [DESTINATION]


Checks out the given commit into the filesystem under directory DESTINATION. If DESTINATION is not specified, the COMMIT will become the destination checkout target. If COMMIT destination already exists, command will error unless --union option is selected.


--user-mode, -u
Do not change file ownership or initialize extended attributes.
Checkout sub-directory PATH.
Keep existing directories and unchanged files, overwrite existing files.
Do nothing if specified path does not exist.
Process many checkouts from standard input.
Process many checkouts from input file.


$ ostree checkout my-branch

$ ls

file1    file2    my-branch

Referenced By


Explore man page connections for ostree-checkout(1).