.. _commit: commit ====== .. program:: commit Synopsis -------- :: sample-rpkg commit [-h] [-m MESSAGE] [--with-changelog] [-c] [--raw] [-t] [-F FILE] [-p] [-s] [files [files ...]] Description ----------- This invokes a git commit. All tracked files with changes will be committed unless a specific file list is provided. $EDITOR will be used to generate a changelog message unless one is given to the command. A push can be done at the same time. Arguments --------- .. option:: files Optional list of specific files to commit Options ------- .. option:: -h --help show this help message and exit .. option:: -m --message Use the given as the commit message summary .. option:: --with-changelog Get the last changelog from SPEC as commit message content. This option must be used with -m together. .. option:: -c --clog Generate the commit message from the Changelog section .. option:: --raw Make the clog raw .. option:: -t --tag Create a tag for this commit .. option:: -F --file Take the commit message from the given file .. option:: -p --push Commit and push as one action .. option:: -s --signoff Include a signed-off-by