You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bring attention to git config tag.gpgsign true for parity with auto-signing commits #43662
That can be fixed by taking the "Tip" from the article on commits, changing the language a little bit to tag.gpgsign true, and adding it as a "Tip" to the article on tags too.
It would make it easier for people to enable signing enabled for both commits and tags by default.
@ara303 This is something I would need to check in about, but you're linking me to a commit, not your PR, and I can't find your PR in our repository. Could you link me to your PR?
Sorry, I'd used the wrong term! Although I'd intended to open a PR to begin with, I paused after reading the guidance asking for an issue first. I should've said fork above.
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.
I'll happily open a PR here if you're granting permission?
Note: I've double checked and it definitely was Git version 2.23.0 to add tag.gpgsign true as a configuration variable, so the information in the "Tip" is correct.
@ara303 Ah, okay, gotcha. This seems fairly low-stakes and like it won't ruin anyone's day if it doesn't work, so yes, I'll accept the change if you open a PR.
Activity
Sharra-writes commentedon Apr 9, 2026
@ara303 This is something I would need to check in about, but you're linking me to a commit, not your PR, and I can't find your PR in our repository. Could you link me to your PR?
ara303 commentedon Apr 10, 2026
Sorry, I'd used the wrong term! Although I'd intended to open a PR to begin with, I paused after reading the guidance asking for an issue first. I should've said fork above.
Here's the commit of my proposed change. Also attached below:
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, rungit config --global tag.gpgsign true.I'll happily open a PR here if you're granting permission?
Note: I've double checked and it definitely was Git version 2.23.0 to add
tag.gpgsign trueas a configuration variable, so the information in the "Tip" is correct.Sharra-writes commentedon Apr 14, 2026
@ara303 Ah, okay, gotcha. This seems fairly low-stakes and like it won't ruin anyone's day if it doesn't work, so yes, I'll accept the change if you open a PR.
ara303 commentedon Apr 14, 2026
Thank you, @Sharra-writes! 😅 It's as low impact as a change possibly could be.
I've opened PR #43817.