by 32bitkid · 11y ago · 0 comments
git config user.name Foobar
git config user.email foo@bar.com
...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