Journaling on estrip is free and easy. get started today

Last Visit 2026-09-12 13:23:07 |Start Date 2003-07-07 03:39:31 |Comments 5,618 |Entries 6,444 |Images 14,762 |Sounds 121 |SWF 21 |Videos 322 |Mobl 2,935 |Theme |

Category: git

11/11/13 12:55 - ID#58282

Changing Author in Git History

In my series of boring computer posts. I was setting up my own gitlab clone when I needed to re-write some commit author logs.

Its actually pretty easy, I'd make sure you have a backup of your repo first.

git filter-branch --env-filter 'if [ $GIT_AUTHOR_EMAIL = paul@hit-nxdomain.opendns.com ]; then GIT_AUTHOR_EMAIL=paulsidekick@gmail.com; fi; export GIT_AUTHOR_EMAIL'


git filter-branch -f --env-filter 'if [ $GIT_AUTHOR_NAME = "paul" ]; then GIT_AUTHOR_NAME ="Visco, Paul"; fi; export GIT_AUTHOR_NAME'

print addComment

Permalink: Changing_Author_in_Git_History.html
Words: 86
Last Modified: 11/11/13 12:55


Search

Chatter

New Site Wide Comments

paul said to paul
Test comment from paul...

joe said to joe
I am so happy it's opening again..Downtown needs something attracting people the whole week
....

ExBuffalonian said to joe
We’re a few months into the “new” year already, and I was thinking it has been a little better than ...

ExBuffalonian said to joe
Quite nice of them to let you in with the wrong tickets. I’m super excited the theater will be openi...