Skip to content

Commit f055169

Browse files
boklmjrn
authored andcommitted
config doc: user.signingkey is also used for signed commits
The description of the user.signingkey option only mentioned its use when creating a signed tag. Make it clear that is is also used when creating signed commits. Signed-off-by: Nicolas Vigier <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]>
1 parent ba3c69a commit f055169

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/config.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,11 +1901,11 @@ user.name::
19011901
environment variables. See linkgit:git-commit-tree[1].
19021902

19031903
user.signingkey::
1904-
If linkgit:git-tag[1] is not selecting the key you want it to
1905-
automatically when creating a signed tag, you can override the
1906-
default selection with this variable. This option is passed
1907-
unchanged to gpg's --local-user parameter, so you may specify a key
1908-
using any method that gpg supports.
1904+
If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
1905+
key you want it to automatically when creating a signed tag or
1906+
commit, you can override the default selection with this variable.
1907+
This option is passed unchanged to gpg's --local-user parameter,
1908+
so you may specify a key using any method that gpg supports.
19091909

19101910
web.browser::
19111911
Specify a web browser that may be used by some commands.

0 commit comments

Comments
 (0)