ostree Command Examples

Version control for binary files similar to git but optimized for operating system root filesystems. OSTree is the foundation for immutable image-based operating systems such as Fedora Silverblue, Fedora IoT or Fedora CoreOS. More information: https://ostreedev.github.io/ostree.

ostree init --repo {{path/to/repo}}

ostree commit --repo {{path/to/repo}} --branch {{branch_name}}

ostree ls --repo {{path/to/repo}} {{commit_id}}

ostree show --repo {{path/to/repo}} {{commit_id}}

ostree log --repo {{path/to/repo}} {{branch_name}}

ostree summary --repo {{path/to/repo}} --view

ostree refs --repo {{path/to/repo}}