this post was submitted on 01 Nov 2023
18 points (84.6% liked)

Programming

17022 readers
274 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 !webdev@programming.dev



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 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?

top 11 comments
sorted by: hot top controversial new old
[–] atheken@programming.dev 16 points 10 months ago (1 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.

[–] spez@sh.itjust.works 10 points 10 months ago (3 children)

I am a damm moron. Thank you very much!

[–] glad_cat@lemmy.sdf.org 14 points 10 months ago (3 children)

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.

[–] beejjorgensen@lemmy.sdf.org 5 points 10 months ago

"The expert has failed more times than the beginner has even tried." 😊👍

[–] spez@sh.itjust.works 3 points 10 months ago

thanks man :)

[–] elxeno@lemm.ee 8 points 10 months ago

I am a damm moron.

Username checks out

[–] atheken@programming.dev 2 points 10 months ago

Not at all! Glad it was something simple!

[–] dyslexicjedi@lemmy.ml 9 points 10 months ago (1 children)

/u/spez is trying to fix Reddit with our help /s

[–] spez@sh.itjust.works 5 points 10 months ago (1 children)
if (enshittification){
dont();
}

git push origin main

[–] crodjer@programming.dev 1 points 10 months ago

The git push always happens?