Re: git-commit: allow From: line to be entered in commit message
From: Junio C Hamano <hidden> Date: 2016-06-15 22:42:16
Joel Becker [off-list ref] writes:
Well, I'm wary of putting
GIT_AUTHOR_EMAIL=joel.becker@oracle.com as a permanent part of my
environment, for fear of overriding some other authors at some point.
The weakest default comes from .git/config so you could have
this in your .git/config:
[user]
name = Joel Becker
email = Joel.Becker@oracle.com
and you can have GIT_AUTHOR_* override it as necessary.