Skip to content

Commit ccb045a

Browse files
Fix user.signingkey example
Since the value of user.signingkey is passed unchanged to gpg's --local-user parameter, the fingerprint needs to be suffixed with an exclamation mark (!). If a fingerprint is specified without an exclamation mark, it is simply ignored.
1 parent 9c99f6e commit ccb045a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/07-git-tools/sections/signing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Once you have a private key to sign with, you can configure Git to use it for si
2929

3030
[source,console]
3131
----
32-
$ git config --global user.signingkey 0A46826A
32+
$ git config --global user.signingkey 0A46826A!
3333
----
3434

3535
Now Git will use your key by default to sign tags and commits if you want.

0 commit comments

Comments
 (0)