Re:Using Multiple Author Identities with Git
by sigsergv on Thursday February 16, 2017 @01:51AM
(#13658176)
There is also extremely useful option user.useConfigOnly, it was added recently though. Before 2.8 (iirc) you had to use weird hack "git config --global user.email '(none)'"
It makes sense not to set the global config at all if you're paranoid. This ensures you have to setup the user.name and user.email locally.