ostree commitOSTreeDeveloperColinWalterswalters@verbum.orgostree commit1ostree-commitCommit a new revisionostree commit OPTIONS --branch=BRANCHDescription
This allows you to commit changes to a branch. The specification of the branch is required. If no commit message is specified with then a text editor will be opened. The commit will be aborted if the commit subject is left empty. The command will print the checksum of a successful commit.
Options, ="subject"
One line subject.
, ="body"
Full description.
, ="branch"
Branch.
="NAME"
Overlay the given argument as a tree.
="KEY=VALUE"
Append given key and value (in string format) to metadata.
="KEY=VALUE"
Append given key and value (in string format) to detached metadata.
="UID"
Set file ownership user id.
="GID"
Set file ownership group id.
Do not import extended attributes.
Optimize for commits of trees composed of hardlinks into the repository.
When loading tar archives, automatically create parent directories as needed.
If the contents are unchanged from previous commit, do nothing.
="PATH"
File containing list of modifications to make permissions.
Output more information in a KEY: VALUE format.
Generate size information along with commit metadata.
="key-id"
GPG Key ID with which to sign the commit (if have GPGME - GNU Privacy Guard Made Easy).
="homedir"
GPG home directory to use when looking for keyrings (if have GPGME - GNU Privacy Guard Made Easy).
Example$ ostree commit --branch=my-branch --subject="Initial commit"
67e382b11d213a402a5313e61cbc69dfd5ab93cb07fbb8b71c2e84f79fa5d7dc