# Change author in commits

2 messages from 2008-12-21 to 2008-12-21. Participants: Ángel Eduardo, David Symonds.
Thread: https://gitlist.dev/t/16820

## Ángel Eduardo, 2008-12-21 12:27

Subject: Change author in commits
Message-ID: <1229862451693-1686491.post@n2.nabble.com>
URL: https://gitlist.dev/e/1229862451693-1686491.post%40n2.nabble.com

```

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, 2008-12-21 13:26

Subject: Re: Change author in commits
Message-ID: <ee77f5c20812210526p745f44b0m86ff18ffa815cea4@mail.gmail.com>
URL: https://gitlist.dev/e/ee77f5c20812210526p745f44b0m86ff18ffa815cea4%40mail.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:

> 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.

```
