"Who is this KodekPL pushing commits to my GitHub repo?"

That's what I thought when I saw "KodekPL" as the author of a commit in my repo... A commit I had just pushed myself seconds before. But why KodekPL and not someone else? Who is this guy?

I’m willing to bet you play Minecraft. A lot of Minecraft. Enough to warrant the need of creating a server. Perhaps one day you downloaded Spigot. “Wait a second here, why are we talking about Minecraft? I’m talking about my GitHub repo here. Someone is in my repo! What the heck!?”, I hear you say.

Turns out, there’s a link between Spigot and KodekPL on GitHub.

Upon further investigation, KodekPL’s GitHub email address is “unconfigured@null.spigotmc.org”. Git, for some reason, picked that up as your email address, hence the wrong author on GitHub. Setting the global variables fixes this.

git config --global user.email your@email.com
git config --global user.name "Your Name"

That’s it. Push something to GitHub and enjoy!


Recent posts

July 2020
Accelerating software onboarding with code walkthroughs 📌
Welcoming newcomers with high-quality, high-context code comments.
June 2020
Just Write, part 2
Writing forces the mind to organize itself.
May 2020
Setting up your own digital garden with Jekyll 🌱
Carve out your own space where you'll seed, cross-pollinate, and grow ideas.