Skip to content

Commit 5f737ac

Browse files
boklmgitster
authored andcommitted
git-merge: document the -S option
The option to gpg sign a merge commit is available but was not documented. Use wording from the git-commit(1) manpage. Signed-off-by: Nicolas Vigier <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 92ab409 commit 5f737ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/git-merge.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SYNOPSIS
1010
--------
1111
[verse]
1212
'git merge' [-n] [--stat] [--no-commit] [--squash] [--[no-]edit]
13-
[-s <strategy>] [-X <strategy-option>]
13+
[-s <strategy>] [-X <strategy-option>] [-S[<keyid>]]
1414
[--[no-]rerere-autoupdate] [-m <msg>] [<commit>...]
1515
'git merge' <msg> HEAD <commit>...
1616
'git merge' --abort
@@ -65,6 +65,10 @@ OPTIONS
6565
-------
6666
include::merge-options.txt[]
6767

68+
-S[<keyid>]::
69+
--gpg-sign[=<keyid>]::
70+
GPG-sign the resulting merge commit.
71+
6872
-m <msg>::
6973
Set the commit message to be used for the merge commit (in
7074
case one is created).

0 commit comments

Comments
 (0)