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

files

Optional list of specific files to commit

Options

-h --help

show this help message and exit

-m --message

Use the given <msg> as the commit message summary

--with-changelog

Get the last changelog from SPEC as commit message content. This option must be used with -m together.

-c --clog

Generate the commit message from the Changelog section

--raw

Make the clog raw

-t --tag

Create a tag for this commit

-F --file

Take the commit message from the given file

-p --push

Commit and push as one action

-s --signoff

Include a signed-off-by