Skip to content

Instantly share code, notes, and snippets.

View chidimo's full-sized avatar
💭
Building awesome apps, one line at a time

Orji Chidi Matthew chidimo

💭
Building awesome apps, one line at a time
View GitHub Profile
@chidimo
chidimo / author-amend.sh
Created August 29, 2019 23:50 — forked from TheCodedSelf/author-amend.sh
Change all commits with author email "[email protected]" to "[email protected]"
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="[email protected]"
CORRECT_NAME="The Dark Knight"
CORRECT_EMAIL="[email protected]"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then