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 "bruce.wayne@wayneenterprises.com" to "batman@justiceleague.com"
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="bruce.wayne@wayneenterprises.com"
CORRECT_NAME="The Dark Knight"
CORRECT_EMAIL="batman@justiceleague.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then