So, I have a GPG key with two noreply email addresses. One for codeberg.org
and one email address for github.com
. When using the user@noreply.codeberg.org
of codeberg as user.mail
globally, I can make commits which show up as verified on codeberg.org
. But if use the same mail as my git user.mail
the commit on github will show up as unverified. Even though the particular repo’s mail is set to the noreply email address of github which can be verified with git config user.mail
but for some reason the global ~/.gitconfig
mail is used to perform committs. Am I doing GPG management wrong or anything else wrong?
[Help] why local user.mail overrides global user.mail in git?
Submitted 8 months ago by spez@sh.itjust.works to programming@programming.dev
atheken@programming.dev 8 months ago
I believe the setting is
user.email
so maybe confirm that’s what you have set in both? Git will silently ignore settings that aren’t used/defined.spez@sh.itjust.works 8 months ago
I am a damm moron. Thank you very much!
glad_cat@lemmy.sdf.org 8 months ago
You’re not a moron, you learned something useful. My experience for the past 20 years is being a moron over and over again, and I make sure to transmit that knowledge.
elxeno@lemm.ee 7 months ago
Username checks out
atheken@programming.dev 8 months ago
Not at all! Glad it was something simple!