Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While this probably doesn’t completely solve your problem, have you tried using conditional includes in your .gitconfig? I’ve been using that to ensure that anything under ~/work uses my work email for user.email, but anything under ~/projects uses my personal email. It’s quite handy.

https://git-scm.com/docs/git-config#_conditional_includes



Oh wow that is genius! I had no idea this existed, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: