# Altering Previous Commits' Author Field.

3 messages from 2009-02-24 to 2009-02-24. Participants: Tim Visher, Robin Rosenberg.
Thread: https://gitlist.dev/t/17997

## Tim Visher, 2009-02-24 21:29

Subject: Altering Previous Commits' Author Field.
Message-ID: <c115fd3c0902241329i2455bc8bj62ec41856773be30@mail.gmail.com>
URL: https://gitlist.dev/e/c115fd3c0902241329i2455bc8bj62ec41856773be30%40mail.gmail.com

```
Hello Everyone,

I have two identities that git knows me as, one for personal and the
other for work.  I just realized that I project I've been doing some
work on at work was using the global config file on that box because I
had forgotten to a project specific config to change my identity.  Is
there any way for me to edit the history so that the Author of all of
those commits is changed to my personal identity?

Thanks in advance!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

```

## Robin Rosenberg, 2009-02-24 21:43

Subject: Re: Altering Previous Commits' Author Field.
Message-ID: <200902242243.49612.robin.rosenberg.lists@dewire.com>
URL: https://gitlist.dev/e/200902242243.49612.robin.rosenberg.lists%40dewire.com
In-Reply-To: <c115fd3c0902241329i2455bc8bj62ec41856773be30@mail.gmail.com>

```
tisdag 24 februari 2009 22:29:15 skrev Tim Visher <tim.visher@gmail.com>:
> Hello Everyone,
> 
> I have two identities that git knows me as, one for personal and the
> other for work.  I just realized that I project I've been doing some
> work on at work was using the global config file on that box because I
> had forgotten to a project specific config to change my identity.  Is
> there any way for me to edit the history so that the Author of all of
> those commits is changed to my personal identity?

If you haven't published your branch you can use git-filter-branch to
rewrite using the --env-filter "export GIT_AUTHOR_NAME=...  etc"

-- robin

```

## Tim Visher, 2009-02-24 22:16

Subject: Re: Altering Previous Commits' Author Field.
Message-ID: <c115fd3c0902241416t65beb6b5x6890b4a229515c63@mail.gmail.com>
URL: https://gitlist.dev/e/c115fd3c0902241416t65beb6b5x6890b4a229515c63%40mail.gmail.com
In-Reply-To: <200902242243.49612.robin.rosenberg.lists@dewire.com>

```
On Tue, Feb 24, 2009 at 4:43 PM, Robin Rosenberg
<robin.rosenberg.lists@dewire.com> wrote:

> If you haven't published your branch you can use git-filter-branch to
> rewrite using the --env-filter "export GIT_AUTHOR_NAME=...  etc"

Awesome!  That's exactly what I was looking for! Thank you! :)

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

```
