git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.com
and you can have GIT_AUTHOR_* override it as necessary.
Previous: Joel BeckerNext: Joel Becker
Message 4 of 14 in “Re: git-commit: allow From: line to be entered in commit message”
  1. Joel BeckerJan 12, 2006
  2. Junio C HamanoJan 12, 2006
  3. Joel BeckerJan 13, 2006
  4. Junio C HamanoJan 13, 2006
  5. Joel BeckerJan 13, 2006
  6. Junio C HamanoJan 13, 2006
  7. Joel BeckerJan 13, 2006
  8. Junio C HamanoJan 13, 2006
  9. Junio C HamanoJan 13, 2006
  10. Johannes SchindelinJan 13, 2006
  11. Alex RiesenJan 12, 2006
  12. seanJan 13, 2006
  13. Junio C HamanoJan 13, 2006
  14. seanJan 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.