As devs, we juggle work, personal, & open-source projects—all on one laptop. Accidentally committing with the wrong identity is a nightmare.<p>That’s why I built gguser – a simple CLI to manage Git profiles effortlessly!<p>- Quick profile switching<p>- Auto-switch per project<p>- Check active Git user<p>- SSH key support<p>Try it now: npm install -g gguser<p>GitHub: https://github.com/withshubh/gguser
What’s the advantage of this over <a href="https://utf9k.net/blog/conditional-gitconfig/" rel="nofollow">https://utf9k.net/blog/conditional-gitconfig/</a> ?<p>I use this technique to use my personal identity by default, and my work identity with repos that are checked out under ~/$WORK<p>I even have git aliases that behave differently depending on which identity I'm using.