I work on both work and personal projects on my machine, and for my work projects, I prefer to use my work email, and vice versa.
In shell, I use direnv to set GIT_COMMITTER_EMAIL
and GIT_AUTHOR_EMAIL
.
How do I achieve something like this in magit?
.dir-locals.el
somehow, either modifyprocess-environment
ormagit-git-global-arguments
.