OS Manuals

ostree-show(1)

OSTREE SHOW(1) ostree show OSTREE SHOW(1)


.SH "NAME" ostree-show - Output a metadata object


.SH "SYNOPSIS"


.HP 288u


ostree show [OPTIONS...] {OBJECT}


.SH "DESCRIPTION"


.PP Given an object, shows the metadata for that object. For a particular revision, it will show the data for the most recent commit to that revision.


.SH "OPTIONS"


.PP --print-related


Show the "related" commits.


.RE


.PP --print-variant-type="TYPE"


Memory map OBJECT (in this case a filename) to the GVariant type string.


.RE


.PP --list-metadata-keys


List the available metadata keys.


.RE


.PP --print-metadata-key="KEY"


Print string value of metadata key.


.RE


.PP --list-detached-metadata-keys


List the available detached metadata keys.


.RE


.PP --print-detached-metadata-key="KEY"


Print string value of detached metadata key.


.RE


.PP --print-sizes


Show the commit size metadata. This in only supported for commits that contain ostree.sizes metadata. This can be included when creating commits with ostree commit --generate-sizes.


.RE


.PP --raw


Show raw variant data.


.RE


.PP --gpg-homedir="HOMEDIR"


GPG home directory to use when looking for keyrings (if built with GPGME - GNU Privacy Guard Made Easy).


.RE


.SH "EXAMPLE"


.PP $ ostree show my-branch


commit 67e382b11d213a402a5313e61cbc69dfd5ab93cb07
Date: 2014-06-12 13:42:54 +0000

OSTree

ostree 2026.5-r0 · enterprise-packages · ingested 2026-10-24