Hacker News new | ask | show | jobs
by 29athrowaway 2051 days ago
You can have a per-project git config, which to me is a more convenient solution.

For my work repo I configure the repo to use my work identity. For my personal repos I use my personal identity.

I do not need to switch identities when using the same repo.

Doing this, you only setup your identity once per repo not every time, which is safer/less error prone. i.e.: you wont leak your work email on github by accident.