Hacker News new | ask | show | jobs
by withshubh 480 days ago
I totally get the concern—accidentally using the wrong identity in a repo is a nightmare. That’s exactly why I built gguser to be explicit, flexible, and easy to use, without relying on a strict directory structure.

For me, my repos aren’t always neatly grouped by context. I might clone a work repo temporarily somewhere else or have open-source contributions scattered around. Rather than relying on predefined paths, I prefer explicitly linking profiles or switching manually when needed.

That said, if the .gitconfig + core.sshCommand method works perfectly for you, that’s awesome! But I’d still love for you to give gguser a try—it’s super lightweight, doesn’t modify your .gitconfig, and could be a handy tool for times when you need a quick profile switch or override without tweaking configs manually.

Would be curious to hear your thoughts if you try it out!:)