From patchwork Thu Jul 13 23:06:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 120147 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2169648vqm; Thu, 13 Jul 2023 17:09:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlHkARt1h0/FbSy9f2A2VIaX+juoWxmAtTMdOo5J87HHY2wgJkMqLs7wIzZ4++FM/LCgS4EO X-Received: by 2002:a92:c803:0:b0:346:59a1:ce35 with SMTP id v3-20020a92c803000000b0034659a1ce35mr3398314iln.6.1689293380947; Thu, 13 Jul 2023 17:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689293380; cv=none; d=google.com; s=arc-20160816; b=vpAirEMUayP3k2+MAZkBEmPBlCd6TOLFTv6dXGHlBlf4bHBgCSg+eG+FYBPwN7tHMw f380p9lm6YEvVMAQOMdObYpzlNpD+af9hBHAeKkiuPCapsCcfVU5m2B+i+sDF8iMk6l6 cDoXm1zDBGotd2xUwNBfzS8229waw7UJtStDRQ0ILUp6OMgZgf1kC4mBLu0qVp5FwjXv SV14BUvQexZBiqhqK02bMNhjI+R+mpLj+Kqh6OjZ0IOtpG3LcLL+JWOncYz1+DduR3qr 8ep3cShvEYbLHWgpfXWwpM1KafeUwCfbx8FpjhhJLP2TlosyTMPWFPyZwpaRrz6qHANi zh3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bSbpV8fFdReJgYnsYM8NxjnJIBSDR329b72eXv8Csbs=; fh=pTJx3pH93N98LTdunuYigmEmqX9OjYknFYc8jeI/+3M=; b=xUgTkjOXCYsND1iCMzOtwpab0ZHCNaNJqfeHtxQODMux+lgtv+TKNjhw6Pb4giDqoJ sJwPqnRMIPJ1kd6dA3V3kXtRyzLSMr5YXNFb6BIfQ1YeCT+zV/gGT1GIieGkewJsTAIi w3LzIJB2mGzk8rDeggiTooUH0D2ccOgDke3VCOa2cMZKlm3160L/Bw4XD00JMUTgG+wT gkkXIYoyn0vMyMgGviyahSttXevCOYK0bCV7WYXNR//y3EvAvF+tR6xz3sXdXiBkp4HU zKwRjG1zWhg0MVdb40ElWWMe3zwEjs/l9KEfelUMjQXuzUC4fMFZOUAeTQ8DuBXhPmXe 3Imw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZGWIWsz/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na18-20020a17090b4c1200b00263fc986e28si218332pjb.24.2023.07.13.17.09.28; Thu, 13 Jul 2023 17:09:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZGWIWsz/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233951AbjGMXGt (ORCPT + 99 others); Thu, 13 Jul 2023 19:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233753AbjGMXGo (ORCPT ); Thu, 13 Jul 2023 19:06:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90D643A8E; Thu, 13 Jul 2023 16:06:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A412861AA2; Thu, 13 Jul 2023 23:06:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2C9BC433C9; Thu, 13 Jul 2023 23:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689289568; bh=pjd75VNJos/sK1Tcoj09WPoZgEiv1FnSHnLzbAkRI+M=; h=From:To:Cc:Subject:Date:From; b=ZGWIWsz/1USSO1C53KwCJnNh+6Wg7tbIaRf/E2GulgdFIIVZNrPh1Af5g0WjqzxD8 gD282qfNB/u/92ga3C6vFAJF1GzTGHaDtQ5ZNtmqJ9ZFB6PKW6x8dRV9TSTvnsaLTI zQe+mhpFDPvsrtpQxaEgMTEEU+MLiuYTNTUD0UI0ysFpUildORe4AiySuQeZvN/3U7 E4SK1ofMit0zX4TLf89lRDDao/pBio7sWR5uUX3ezWTktXuAEfXJuDrcn9h+3zaBM9 4FcmUgxyMPMV1gZvxEOQ1KE1OZja3re1/Ydk/B63UkJoMRybbKyEcvZk6EDMMDVjAA 4pE2r1asxsktA== From: Jakub Kicinski To: corbet@lwn.net Cc: workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski Subject: [PATCH docs] docs: maintainers: mention tag -s for signed tags Date: Thu, 13 Jul 2023 16:06:06 -0700 Message-ID: <20230713230606.1505458-1-kuba@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771352495991339581 X-GMAIL-MSGID: 1771352495991339581 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 --- 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 ` 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 `` 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"