Skip to content

Commit 098bbdc

Browse files
tomgjonespeff
authored andcommitted
Add -S, --gpg-sign option to manpage of "git commit"
git commit -S, --gpg-sign was mentioned in the program's help message, but not in the manpage. This adds an equivalent entry for the option in the manpage. Signed-off-by: Tom Jones <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent 7e20105 commit 098bbdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/git-commit.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SYNOPSIS
1313
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
1414
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
1515
[--date=<date>] [--cleanup=<mode>] [--status | --no-status]
16-
[-i | -o] [--] [<file>...]
16+
[-i | -o] [-S[<keyid>]] [--] [<file>...]
1717

1818
DESCRIPTION
1919
-----------
@@ -276,6 +276,10 @@ configuration variable documented in linkgit:git-config[1].
276276
commit message template when using an editor to prepare the
277277
default commit message.
278278

279+
-S[<keyid>]::
280+
--gpg-sign[=<keyid>]::
281+
GPG-sign commit.
282+
279283
\--::
280284
Do not interpret any more arguments as options.
281285

0 commit comments

Comments
 (0)