Menu

Post image 1
Post image 2
1 / 2
0

I Was Tired of Juggling 3 GitHub Accounts — So I Built a Desktop App to Fix It

DEV Community·dev das·28 days ago
#m1oXItFA
#ssh#git#opensource#devtools#github#devswitch
Reading 0:00
15s threshold

If you've ever managed multiple GitHub accounts on the same machine — a personal account, a work account, maybe a freelance client account — you know the pain. You clone a repo, push some code, and then realize it went up under the wrong username. Or worse, you spend 20 minutes debugging why your SSH key isn't working, only to find out you're using the wrong identity file. I got tired of it. So I built DevSwitch . 👉 Repo: https://github.com/umesh-saini/DevSwitch The Problem With Multiple Git Accounts Managing multiple Git identities manually looks something like this: # ~/.ssh/config Host github.com-work HostName github.com User git IdentityFile ~/.ssh/id_ed25519_work Host github.com-personal HostName github.com User git IdentityFile ~/.ssh/id_ed25519_personal Enter fullscreen mode Exit fullscreen mode Then every time you clone a repo, you have to remember to use the right host alias: git clone git@github.com-work:mycompany/project.git Enter fullscreen mode Exit fullscreen mode And then manually set your…

Continue reading — create a free account

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

Read More