summaryrefslogtreecommitdiff
path: root/Documentation/maintainer
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-07-14 02:06:06 +0300
committerJonathan Corbet <corbet@lwn.net>2023-07-14 21:18:49 +0300
commit803fda170784de8b5da7a82d42ea3eea672a56bc (patch)
tree159875e36cebd06c765cd7098a40a5811b04b394 /Documentation/maintainer
parent77f969a717b953296c036004b1a96f9d1087cef6 (diff)
downloadlinux-803fda170784de8b5da7a82d42ea3eea672a56bc.tar.xz
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: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20230713230606.1505458-1-kuba@kernel.org>
Diffstat (limited to 'Documentation/maintainer')
-rw-r--r--Documentation/maintainer/configure-git.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/maintainer/configure-git.rst b/Documentation/maintainer/configure-git.rst
index ec0ddfb9cdd3..a054de0c50dc 100644
--- a/Documentation/maintainer/configure-git.rst
+++ b/Documentation/maintainer/configure-git.rst
@@ -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"