Commit 803fda17 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Jonathan Corbet

docs: maintainers: mention tag -s for signed tags

The documentation talks about -u and how to configure the default
key. It does not mention that once the default key is set one
should use the -s flag. Which is likely what most people end up
using.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Message-ID: <20230713230606.1505458-1-kuba@kernel.org>
parent 77f969a7
......@@ -7,9 +7,10 @@ This chapter describes maintainer level git configuration.
Tagged branches used in :ref:`Documentation/maintainer/pull-requests.rst
<pullrequests>` should be signed with the developers public GPG key. Signed
tags can be created by passing the ``-u`` flag to ``git tag``. However,
since you would *usually* use the same key for the same project, you can
set it once with
tags can be created by passing ``-u <key-id>`` to ``git tag``. However,
since you would *usually* use the same key for the project, you can
set it in the configuration and use the ``-s`` flag. To set the default
``key-id`` use
::
git config user.signingkey "keyname"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment