TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

gguser – A Simple CLI to Manage Multiple Git Profiles

1 pointsby withshubh3 months ago
As devs, we juggle work, personal, &amp; 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:&#x2F;&#x2F;github.com&#x2F;withshubh&#x2F;gguser

1 comment

dave44203 months ago
What’s the advantage of this over <a href="https:&#x2F;&#x2F;utf9k.net&#x2F;blog&#x2F;conditional-gitconfig&#x2F;" rel="nofollow">https:&#x2F;&#x2F;utf9k.net&#x2F;blog&#x2F;conditional-gitconfig&#x2F;</a> ?<p>I use this technique to use my personal identity by default, and my work identity with repos that are checked out under ~&#x2F;$WORK<p>I even have git aliases that behave differently depending on which identity I&#x27;m using.
评论 #43211983 未加载