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.

Show HN: Karn – Manage multiple Git identities

33 pointsby prydoniusabout 10 years ago

5 comments

mlawrenabout 10 years ago
A more generic tool for this type of function is direnv[<a href="http:&#x2F;&#x2F;direnv.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;direnv.net&#x2F;</a>].<p>I use direnv for example for setting per-directory Perl installation variables to keep my development environments separate.
评论 #9464269 未加载
cakeyabout 10 years ago
This will definitely be useful for helping switch between work and personal projects on the same laptop!
32bitkidabout 10 years ago
I don&#x27;t mean to be a fuddy-duddy, but I don&#x27;t get it... How is this better&#x2F;worse than doing...<p><pre><code> git config user.name Foobar git config user.email foo@bar.com </code></pre> ...which will set that config variable for the current repository only -- not global. I ended up do the a similar thing for a simple git pairing tool[1] that would let you set your name to two people, so that one could discern the pair from the commit logs<p>[1]:<a href="https:&#x2F;&#x2F;github.com&#x2F;32bitkid&#x2F;git-working-with" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;32bitkid&#x2F;git-working-with</a>
评论 #9466274 未加载
评论 #9467344 未加载
mrdrozdovabout 10 years ago
Does this handle management of SSH keys?
评论 #9465105 未加载
评论 #9466333 未加载
评论 #9465161 未加载
machinshin_about 10 years ago
heh. the last time i saw this implemented, it was called gas =&gt; <a href="https:&#x2F;&#x2F;github.com&#x2F;walle&#x2F;gas" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;walle&#x2F;gas</a>