diff --git a/data/reusables/gpg/set-auto-sign.md b/data/reusables/gpg/set-auto-sign.md index 04385ba48590..7246571da029 100644 --- a/data/reusables/gpg/set-auto-sign.md +++ b/data/reusables/gpg/set-auto-sign.md @@ -1,7 +1,8 @@ -1. Optionally, to configure Git to sign all commits by default, enter the following command: +1. Optionally, to configure Git to sign all commits and tags by default, enter the following command: ```shell git config --global commit.gpgsign true + git config --global tag.gpgSign true ``` For more information, see "[AUTOTITLE](/authentication/managing-commit-signature-verification/signing-commits)."