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

Re: modifying commit's author

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Jan 22, 2007, 20:50 UTC
Message-ID
<200701222150.16465.robin.rosenberg.lists@dewire.com>
In-Reply-To
<20070122203734.GB23187@fieldses.org>
måndag 22 januari 2007 21:37 skrev J. Bruce Fields:
> If I got the author wrong on a commit, is there a quick way to fix it
> (e.g. by passing the right arguments or environment variables to commit
> --amend)?

Set these: GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME

-- robin
Previous: Junio C HamanoNext: J. Bruce Fields
Message 5 of 7 in “modifying commit's author”
  1. J. Bruce FieldsJan 22, 2007
  2. Junio C HamanoJan 22, 2007
  3. J. Bruce FieldsJan 22, 2007
  4. Junio C HamanoJan 22, 2007
  5. Robin RosenbergJan 22, 2007
  6. J. Bruce FieldsJan 22, 2007
  7. Johannes SixtJan 23, 2007

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.