Re: git-commit: allow From: line to be entered in commit message
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 13, 2006, 07:06 UTC
- Message-ID
- <7vpsmwbo9s.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060113065855.GJ14196@ca-server1.us.oracle.com>
Joel Becker <Joel.Becker@oracle.com> 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.comand you can have GIT_AUTHOR_* override it as necessary.