To the person whose first name is “First Name”
I have a bunch of your email.
Back in March 27, 2000, I was summoned to the Greater Omaha Chamber of Commerce board room for a press conference. On the 2nd floor of the Chamber’s one-time headquarters at 13th and Harney, state of Nebraska political officials, Chamber executives and a representative from […]
TL;DR: Check your repo’s config for user.email, which will override your global config.
I was working on a project the code for which is in GitHub and saw in my pull request something I hadn’t seen before (or at least hadn’t noticed). It said “Unverified” in a bronze color inside a outlined pill on the line associated with each commit.
I started looking around, and learned that it had to do with the email associated with the commit. This page tells the story: https://docs.github.com/en/authentication/managing-commit-signature-verification/displaying-verification-statuses-for-all-of-your-commits
Of course, I needed to check my git config. I’m on a Mac, so it was
~/.gitconfig
The email address there was correct, though.
Then, I checked the repo directory itself:
my-repo/.git/config
And there it was:
[user] name = Christian Burk email = wrong.address@sillyme.com
Once I changed the address in the my-repo/.git/config
to the correct one and added one of my already loaded keys as a signing key:
Susquent commits were verified.
How did my global and local git configs get out of whack? I really don’t know. But now they are in whack once more.