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

Re: Change author in commits

From
David Symonds <dsymonds@gmail.com>
Date
Dec 21, 2008, 13:26 UTC
Message-ID
<ee77f5c20812210526p745f44b0m86ff18ffa815cea4@mail.gmail.com>
In-Reply-To
<1229862451693-1686491.post@n2.nabble.com>
On Sun, Dec 21, 2008 at 11:27 PM, Ángel Eduardo <arcnorj@yahoo.es> wrote:
Show 5 quoted lines
> I've started a repository in a project of mine, but I forgot to change the
> commiter name to the nickname and email I'll use in the project along with
> my teammates.
>
> So, it's there a way to change them it in the commits I've done?

If you haven't published your changes, simply rewrite your history via git filter-branch; see its manpage for details.

If you *have* published your changes, you can't change committer details without changing the SHA1 of the commits.

Dave.
Previous: Ángel Eduardo
Message 2 of 2 in “Change author in commits”
  1. Ángel EduardoDec 21, 2008
  2. David SymondsDec 21, 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.