
I Used the Wrong Git Email for 2 Weeks — And No One Noticed
I accidentally committed 2 weeks of client work using my personal email. No warnings. No errors. No clue it was happening. I only noticed after pushing everything to GitHub. Here's the thing nobody tells you when you start freelancing alongside a full-time job: Git has no idea you're two different people depending on which folder you're in. I found this out the hard way. I'd been heads-down on a client dashboard project — late nights, quick commits, shipping fast. Then one morning I opened GitHub to review a PR and noticed something. Every single commit. Every one. Author: sandeep@personal.com . Not sandeep@work.com . Not the email the client hired. My personal one. I had three client projects on that machine. Same story across all of them. Two weeks of commits. All from the wrong person, technically. I didn't tell the client. I just fixed it and moved on. But it bothered me for days — not the mistake, the fact that I had no idea it was happening. Why It Happens (and Why It's Not Obvio
Continue reading on Dev.to
Opens in a new tab

