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

Retroactively change email signature?

From
SSStephen Sinclair <radarsat1@gmail.com>
Date
Jan 2, 2008, 20:37 UTC
Message-ID
<9b3e2dc20801021237v4d5d236fn3d2643502b9bb78f@mail.gmail.com>
Hi,

I imagine that changing old commits is considered one of the great evils of source control, but I have a small problem: I have a habit of testing my code on several different computers and operating systems. Sometimes when setting up a new computer for testing (and thus, for development, since testing always results in a few commits), I have forgotten to use git-config to configure my name and email address.

Since git doesn't warn when I've forgotten to do this, my git-log is now sprinkled with various email addresses, some which are just my username@hostname. This is completely useless to people who might view my public repository.

Is it possible to retroactively change the author and email of several commits? Perhaps some sort of search-and-replace for the commit metadata? Even for older commits, I'd like to change the email addresses to my current address.

If it's not possible it's not the end of the world, but I thought it wouldn't hurt to ask.

thanks, Steve

Next: Jakub Narebski
Message 1 of 9 in “Retroactively change email signature?”
  1. Stephen SinclairJan 2, 2008
  2. Jakub NarebskiJan 2, 2008
  3. Linus TorvaldsJan 2, 2008
  4. Stephen SinclairJan 2, 2008
  5. David BrownJan 3, 2008
  6. Sam VilainJan 3, 2008
  7. Linus TorvaldsJan 4, 2008
  8. Sam VilainJan 4, 2008
  9. Sam VilainJan 4, 2008

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.