Skip to content

Instantly share code, notes, and snippets.

@Jackbennett
Created March 30, 2016 19:48
Show Gist options
  • Save Jackbennett/71aa5f8250edd9abaefc44f22245881f to your computer and use it in GitHub Desktop.
Save Jackbennett/71aa5f8250edd9abaefc44f22245881f to your computer and use it in GitHub Desktop.
C:\f\src\music
Jack > git filter-branch -f --env-filter '
>> if [ "$GIT_COMMITTER_NAME" = "Jack Bennett" ];
>> then
>> GIT_COMMITTER_NAME="JackBennett";
>> GIT_AUTHOR_NAME="JackBennett";
>> fi
>>
>> if [ "$GIT_AUTHOR_NAME" = "Jack Bennett" ];
>> then
>> GIT_COMMITTER_NAME="JackBennett";
>> GIT_AUTHOR_NAME="JackBennett";
>> fi
>> ' -- --all
fatal: bad revision 'Bennett ];
then
GIT_COMMITTER_NAME=JackBennett;
GIT_AUTHOR_NAME=JackBennett;
fi
if [ $GIT_AUTHOR_NAME = Jack'
C:\f\src\music
Jack > git log --all
commit 328ded442e4302e71e0cb56f95955bda253b7a84
Author: JackBennett <[email protected]>
Date: Wed Mar 30 20:11:21 2016 +0100
cursed Maths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment