ostree checkout OSTree Developer Colin Walters walters@verbum.org ostree checkout 1 ostree-checkout Check out a commit into a filesystem ostree checkout OPTIONS COMMIT DESTINATION Description 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 option is selected. Options , Do not change file ownership or initialize extended attributes. ="PATH" Checkout sub-directory PATH. Keep existing directories and unchanged files, overwrite existing files. Keep existing directories and files. Like --union, but error out if a file would be replaced with a different file. Add new files and directories, ignore identical files, and keep existing directories. Requires -H. Process whiteout files (Docker style). Do nothing if specified path does not exist. Process many checkouts from standard input. ="FILE" Process many checkouts from input file. ="POLICY" POLICY is a boolean which specifies whether fsync should be used or not. Default to true. , Do not fall back to full copies if hardlinking fails. , This option does nothing; the functionality is now always on by default. , Never hardlink (but may reflink if available). , Suppress mode bits outside of 0775 for directories (suid, world writable, etc.). ="FILE" Skip checking out the absolute file paths listed in FILE, one per line. Set SELinux labels based on policy in root filesystem PATH (may be /). This implies --force-copy. Example $ ostree checkout my-branch $ ls file1    file2    my-branch