diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-04-07 17:21:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-07 17:21:04 -0700 |
commit | 69bbb1fb7fc671a26c7c42e3fa07afc365f1bc84 (patch) | |
tree | a2fc032a085361e854fc8b2902d0734164ad7692 /git-commit.txt | |
parent | b4e4759bd226dd16de8873c4b2cb1354511d1116 (diff) | |
download | git-htmldocs-69bbb1fb7fc671a26c7c42e3fa07afc365f1bc84.tar.gz |
Autogenerated HTML docs for v2.31.1-236-ga0dda
Diffstat (limited to 'git-commit.txt')
-rw-r--r-- | git-commit.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/git-commit.txt b/git-commit.txt index 3c69f461c..340c5fbb4 100644 --- a/git-commit.txt +++ b/git-commit.txt @@ -14,7 +14,8 @@ SYNOPSIS [--allow-empty-message] [--no-verify] [-e] [--author=<author>] [--date=<date>] [--cleanup=<mode>] [--[no-]status] [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]] - [-S[<keyid>]] [--] [<pathspec>...] + [(--trailer <token>[(=|:)<value>])...] [-S[<keyid>]] + [--] [<pathspec>...] DESCRIPTION ----------- @@ -199,6 +200,17 @@ The `-m` option is mutually exclusive with `-c`, `-C`, and `-F`. include::signoff-option.txt[] +--trailer <token>[(=|:)<value>]:: + 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.) + The `trailer.*` configuration variables + (linkgit:git-interpret-trailers[1]) can be used to define if + a duplicated trailer is omitted, where in the run of trailers + each trailer would appear, and other details. + -n:: --no-verify:: This option bypasses the pre-commit and commit-msg hooks. |