1OSTREE COMMIT(1)                 ostree commit                OSTREE COMMIT(1)
2
3
4

NAME

6       ostree-commit - Commit a new revision
7

SYNOPSIS

9       ostree commit [OPTIONS...] --branch= {BRANCH} [PATH]
10

DESCRIPTION

12       This allows you to commit changes to a branch. The specification of the
13       branch is required. The command will print the checksum of a successful
14       commit.
15

OPTIONS

17       --subject, -s="SUBJECT"
18           One line subject. (optional)
19
20       --body, -m="BODY"
21           Full description. (optional)
22
23       --editor, -e
24           Open a text editor for the commit description. It will use
25           OSTREE_EDITOR, VISUAL, EDITOR, or vi, in descending order of
26           preference. The commit will be aborted if the message is left
27           empty.
28
29       --branch, -b="BRANCH"
30           Branch. Required, unless --orphan is given.
31
32       --tree="dir=PATH" or "tar=TARFILE" or "ref=COMMIT"
33           Overlay the given argument as a tree.
34
35       --add-metadata-string="KEY=VALUE"
36           Add a key/value pair to metadata.
37
38       --add-detached-metadata-string="KEY=VALUE"
39           Add a key/value pair to detached metadata.
40
41       --owner-uid="UID"
42           Set file ownership user id.
43
44       --owner-gid="GID"
45           Set file ownership group id.
46
47       --no-xattrs
48           Do not import extended attributes.
49
50       --link-checkout-speedup
51           Optimize for commits of trees composed of hardlinks into the
52           repository.
53
54       --tar-autocreate-parents
55           When loading tar archives, automatically create parent directories
56           as needed.
57
58       --skip-if-unchanged
59           If the contents are unchanged from previous commit, do nothing.
60
61       --consume
62           When committing from a local directory (i.e. not an archive or
63           --tree=ref), assume ownership of the content. This may simply
64           involve deleting it, but if possible, the content may simply be
65           rename()ed into the repository rather than creating a new copy.
66
67       --statoverride="PATH"
68           File containing list of modifications to make permissions (file
69           mode, followed by space, followed by file path).
70
71       --skip-list="PATH"
72           File containing list of file paths to skip (one path per line).
73
74       --table-output
75           Output more information in a KEY: VALUE format.
76
77       --generate-sizes
78           Generate size information along with commit metadata.
79
80       --gpg-sign="KEY-ID"
81           GPG Key ID with which to sign the commit (if have GPGME - GNU
82           Privacy Guard Made Easy).
83
84       --gpg-homedir="HOMEDIR"
85           GPG home directory to use when looking for keyrings (if have GPGME
86           - GNU Privacy Guard Made Easy).
87
88       --timestamp="TIMESTAMP"
89           Override the timestamp of the commit to TIMESTAMP.
90
91       --orphan
92           Create a commit without writing to a ref (branch)
93
94       --fsync="POLICY"
95           POLICY is a boolean which specifies whether fsync should be used or
96           not. Default to true.
97

EXAMPLE

99       $ ostree commit --branch=my-branch --subject="Initial commit"
100
101                   67e382b11d213a402a5313e61cbc69dfd5ab93cb07fbb8b71c2e84f79fa5d7dc
102
103
104
105OSTree                                                        OSTREE COMMIT(1)
Impressum