GitSwitch CLI - GitSwitch — Multiple GitHub accounts. One command.

by
GitSwitch goes beyond basic Git account switching. It simplifies the entire multi-account workflow with one-command profile switching, automatic Git configuration, SSH key generation, and GitHub integration to upload keys automatically. No more editing SSH configs, running repeated Git commands, or committing with the wrong identity. Set up once, switch anytime.

Add a comment

Replies

Best
Hey everyone I built GitSwitch after repeatedly dealing with the frustration of managing multiple GitHub accounts across work, personal projects, and experiments. Switching identities shouldn’t mean editing SSH configs, copying keys around, or worrying about committing with the wrong account. GitSwitch helps you create profiles, manage Git identities, handle SSH setup, and switch accounts in seconds — all from your terminal. I’d love your feedback, ideas, and suggestions on how we can make GitSwitch even better for developers

Love that this handles SSH key uploads to GitHub automatically, would have saved me so much setup time. One thing I'd love to see is a quick `gitswitch status` command that shows which profile is active and which profiles exist. Right now I find myself forgetting what I named my work profile when I have several configured.

 

gitswitch list displays all saved profiles and highlights the active one.

gitswitch current shows detailed information about the currently active profile.

Here is a list of available commands and their functions: