this post was submitted on 01 Nov 2023
19 points (85.2% liked)

Programming

17507 readers
37 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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 [email protected] 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?

you are viewing a single comment's thread
view the rest of the comments
[–] atheken 17 points 1 year ago (7 children)

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.

[–] [email protected] 11 points 1 year ago (6 children)

I am a damm moron. Thank you very much!

[–] atheken 3 points 1 year ago

Not at all! Glad it was something simple!

load more comments (5 replies)
load more comments (5 replies)