2023-02-09 14:52:17 +00:00
|
|
|
# ostree
|
|
|
|
|
pages*: fix brand and technical names (#12145)
* pages*: fix Python, Java, pacman, apt, *zip*, xz, tar, git, RPM and grep names
* pages*: fix brand and technical names
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
* fluxctl, gitmoji, in-toto-run, osv-scanner: replace `git` with Git
* bzegrep: enclose egrep with backticks
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-bug: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* git-force-clone: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* gitwatch: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* hub-init: use Git instead of `git`
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* pages.*: use Linux instead of GNU/Linux
---------
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-30 04:46:32 +00:00
|
|
|
> Version control for binary files similar to `git` but optimized for operating system root filesystems.
|
2023-02-09 14:52:17 +00:00
|
|
|
> 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>.
|
|
|
|
|
2023-11-12 03:08:58 +00:00
|
|
|
- Initialize a repository of the files in `$PWD` with metadata in `$PWD/path/to/repo`:
|
2023-02-09 14:52:17 +00:00
|
|
|
|
|
|
|
`ostree init --repo {{path/to/repo}}`
|
|
|
|
|
|
|
|
- Create a commit (snapshot) of the files:
|
|
|
|
|
|
|
|
`ostree commit --repo {{path/to/repo}} --branch {{branch_name}}`
|
|
|
|
|
|
|
|
- Show files in commit:
|
|
|
|
|
|
|
|
`ostree ls --repo {{path/to/repo}} {{commit_id}}`
|
|
|
|
|
|
|
|
- Show metadata of commit:
|
|
|
|
|
|
|
|
`ostree show --repo {{path/to/repo}} {{commit_id}}`
|
|
|
|
|
|
|
|
- Show list of commits:
|
|
|
|
|
|
|
|
`ostree log --repo {{path/to/repo}} {{branch_name}}`
|
|
|
|
|
|
|
|
- Show repo summary:
|
|
|
|
|
|
|
|
`ostree summary --repo {{path/to/repo}} --view`
|
|
|
|
|
|
|
|
- Show available refs (branches):
|
|
|
|
|
|
|
|
`ostree refs --repo {{path/to/repo}}`
|