Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ category:
---
{% data reusables.gpg.desktop-support-for-commit-signing %}

> [!TIP]
> To configure your Git client to sign tags by default for a local repository, in Git versions 2.23.0 and above, run `git config tag.gpgsign true`. To sign all tags by default in any local repository on your computer, run `git config --global tag.gpgsign true`.
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TIP claims tag.gpgsign requires Git 2.23.0+, but the analogous TIP in signing-commits.md uses Git 2.0.0+ for commit.gpgsign. Since this PR’s stated goal is parity, either align the minimum Git version here with the commits article or add a reference/justification for why tag auto-signing has a different minimum supported version (to avoid misleading readers).

Suggested change
> To configure your Git client to sign tags by default for a local repository, in Git versions 2.23.0 and above, run `git config tag.gpgsign true`. To sign all tags by default in any local repository on your computer, run `git config --global tag.gpgsign true`.
> To configure your Git client to sign tags by default for a local repository, in Git versions 2.0.0 and above, run `git config tag.gpgsign true`. To sign all tags by default in any local repository on your computer, run `git config --global tag.gpgsign true`.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a mistake.

Git version 2.23.0 is the one that added tag.gpgSign as a configuration variable. Sources:

1. To sign a tag, add `-s` to your `git tag` command.

```shell
Expand Down
Loading