threads / discuss / 16820

Change author in commits

Subject: Change author in commits

## tl;dr

2 messages between Dec 21, 2008 and Dec 21, 2008.

replies: 1people: 2as markdown or json

Ángel Eduardo· Dec 21, 2008, 12:27 UTC · lore
Hello.

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?
Thanks a lot in advance!
-- 
View this message in context: http://n2.nabble.com/Change-author-in-commits-tp1686491p1686491.html
Sent from the git mailing list archive at Nabble.com.
David Symonds· Dec 21, 2008, 13:26 UTC · re: Ángel Eduardo · lore

Re: Change author in commits

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.

← back to recent threads