commit

Command equivalent to git commit.

Commit files in the process-stage with encrypted commit message.

Restricted options: {’–allow-empty’, ‘-e’, ‘–edit’, ‘–pathspec-from-file’, ‘-o’, ‘-t’, ‘–reedit-message’, ‘–cleanup’, ‘–allow-empty-message’, ‘-p’, ‘–squash’, ‘–fixup’, ‘–only’, ‘–pathspec-file-nul’, ‘–interactive’, ‘–include’, ‘-i’, ‘–’, ‘–no-status’, ‘-c’, ‘–patch’, ‘–template’, ‘–status’}.

{’–null’, ‘–dry-run’, ‘–short’, ‘–long’, ‘–porcelain’, ‘-z’} imply dry-run mode.

usage: enc commit [-h] [-v | -q] (-m MESSAGE | -F FILE | -C REUSE_MESSAGE) [--trailer TRAILER] [-s] [--no-signoff]

Named Arguments

-v, --verbose
Specify verbosity level as -v, -vv or -vvv.

By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on the verbosity of logs use: -v to show INFO logs additionally. -vv to show INFO and DEBUG logs additionally. -vvv to show INFO, DEBUG and TRACE logs, this level also enables exception tracebacks.

-q, --quiet
Quiet logs as -q, -qq or -qqq.

By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on quietness of logs use: -q to Disable VCS (git) or OS call command logs and WARNINGS; ERROR and FATAL will still show. -qq to Additionally disable ERRORS; FATAL logs will still show. -qqq to Disable full logging.

Managed git options

These options and values will be passed to underlying git commands after certain manipulations.

-m, --message

Use the given <MESSAGE> as the commit message. If multiple -m options are given, their values are concatenated as separate paragraphs.

-F, --file

Take the commit message from the given file. Use - to read the message from the standard input.

-C, --reuse-message

Take an existing commit object, and reuse the log message and the authorship information (including the timestamp) when creating the commit.

--trailer

Specify a (<token>, <value>) pair that should be applied as a trailer. (e.g. git commit –trailer “Signed-off-by:C O Mitter <committer@example.com>” –trailer “Helped-by:C O Mitter <committer@example.com>” will add the “Signed-off-by” trailer and the “Helped-by” trailer to the commit message.)

Signoff group

Enable -s to signoff a commit and use the –no-signoff to countermand a previously set –signoff

-s, --signoff

Add a Signed-off-by trailer by the committer at the end of the commit log message. The meaning of a signoff depends on the project to which you’re committing. For example, it may certify that the committer has the rights to submit the work under the project’s license or agrees to some contributor representation, such as a Developer Certificate of Origin.

Default: False

--no-signoff

The –no-signoff option can be used to countermand an earlier –signoff option on the command line.

Default: True

Must be run from from the working-tree repo root.