Hacker News new | ask | show | jobs
by aesthetics1 2274 days ago
To get around this problem I just use a simple command-line utility that I wrote called gitswitch that I call whenever I jump to a new project. My name never changes but my email does, so that's all the utility changes. I suppose it would be neat to build in profiles, but I jump between 2-3 PCs regularly and would probably forget to update my profiles.

https://github.com/jboyer87/gitswitch

Example:

  gitswitch jboyer87@my-work-email.com

  gitswitch jboyer87@my-personal-email.com