* [PATCH docs] docs: maintainers: mention tag -s for signed tags
@ 2023-07-13 23:06 Jakub Kicinski
2023-07-14 18:19 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Kicinski @ 2023-07-13 23:06 UTC (permalink / raw)
To: corbet; +Cc: workflows, linux-doc, linux-kernel, Jakub Kicinski
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>
---
Documentation/maintainer/configure-git.rst | 7 ++++---
1 file 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"
--
2.41.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH docs] docs: maintainers: mention tag -s for signed tags
2023-07-13 23:06 [PATCH docs] docs: maintainers: mention tag -s for signed tags Jakub Kicinski
@ 2023-07-14 18:19 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2023-07-14 18:19 UTC (permalink / raw)
To: Jakub Kicinski; +Cc: workflows, linux-doc, linux-kernel, Jakub Kicinski
Jakub Kicinski <kuba@kernel.org> writes:
> 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>
> ---
> Documentation/maintainer/configure-git.rst | 7 ++++---
> 1 file 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
> ::
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-14 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-13 23:06 [PATCH docs] docs: maintainers: mention tag -s for signed tags Jakub Kicinski
2023-07-14 18:19 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox