Menu

Why your AI agent pushes as the wrong GitHub account (and a 3-minute fix)
πŸ“°

Why your AI agent pushes as the wrong GitHub account (and a 3-minute fix)

DEV Community: githubΒ·Urvin SanghaviΒ·about 5 hours ago
#bd1O3bxZ
#devtogithub#technology#devto#dev#account
Long article (1346 words) β€” no AI summary yet.
Reading 0:00
15s threshold

You open a client project, ask Claude Code to fix a bug and open a pull request. Two minutes later the PR is up, from your personal GitHub account, with your personal email on every commit.

If you use more than one GitHub account on the same computer (work, personal, a client or two), you've probably hit some version of this:

😬 commits on a work repo signed with your personal email,

πŸ™ˆ git push failing with "Permission to acme/api.git denied to jane-dev" ,

πŸ€– an AI agent opening PRs and issues as whichever account happened to be active.

I hit all three in the same week, so I dug into why it happens and built a small open-source fix.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.