4 ms·
Author here! I'm a freelancer working for multiple agencies at the moment. And One of the requirements was that I use the agency email for all commits. So I ma
by geongeorgek 6y ago
Author here!
I'm a freelancer working for multiple agencies at the moment. And One of the requirements was that I use the agency email for all commits.
So I made this as a sugar for
git config user.email whatever@gmail.com
- Foxboron 6y agohttps://git-scm.com/docs/git-config#_conditional_includes https://git-scm.com/docs/git-config#_conditional_includes Is a lot easier then what you came up with.
- geongeorgek 6y agoThanks. This is perfect but I also like the convenience of a quick switcher for any folder.
- JimDabell 6y agoI find that creating a separate user account on my system for each client works much better for this kind of thing than trying to configure every application with multiple identities.
- edoceo 6y agoMore isolation, less accidents. I use this way too.