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

Re: How to rewrite author history

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Mar 21, 2008, 18:40 UTC
Message-ID
<37fcd2780803211140h7308d868t1555e0fc1f2716fc@mail.gmail.com>
In-Reply-To
<216e54900803210941i7fe345c2va850fa3ded8eabc8@mail.gmail.com>
On Fri, Mar 21, 2008 at 7:41 PM, Andrew Arnott <andrewarnott@gmail.com> wrote:
Show 6 quoted lines
> I imported my git repo from an SVN repo, and the authors have
>  email@SOME-GUID for their email address rather than their actual one
>  (probably courtesy of Google Code hosting).  Rewriting history and
>  changing all the commit hashes isn't a problem at this point in
>  development, so how can I do a massive search-and-replace to replace
>  several specific author emails with the valid ones?

Please, take a look at man git-filter-branch. I believe you can do that using env-filter, but I have never used this filter myself.

Dmitry
Previous: Andrew ArnottNext: Samuel Tardieu
Message 2 of 7 in “Re: How to rewrite author history”
  1. Andrew ArnottMar 21, 2008
  2. Dmitry PotapovMar 21, 2008
  3. Samuel TardieuMar 22, 2008
  4. Andrew ArnottMar 22, 2008
  5. Jeff KingMar 22, 2008
  6. Andrew ArnottMar 22, 2008
  7. Jeff KingMar 23, 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.