Created
May 10, 2018 04:38
-
-
Save nevermoe/0b87829b12ccd680b1669122f4252db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --commit-filter ' | |
if [ "$GIT_COMMITTER_NAME" = "OLD NAME" ]; | |
then | |
GIT_COMMITTER_NAME="nevermoe"; | |
GIT_AUTHOR_NAME="nevermoe@users.noreply.github.com"; | |
GIT_COMMITTER_EMAIL="nevermoe@users.noreply.github.com"; | |
GIT_AUTHOR_EMAIL="nevermoe@users.noreply.github.com"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; | |
fi' HEAD | |
# from: http://stackoverflow.com/a/870367/36850 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment