OSTREE REV-PARSE(1) ostree rev-parse OSTREE REV-PARSE(1)

ostree-rev-parse - Output the target of a rev

ostree rev-parse {REV} {PATH}

--single, -S

If the repository has exactly one commit, then print it; any other case will result in an error.

Given a REV, outputs the checksum of the latest commit of that revision.

$ ostree rev-parse my-branch