Created
October 1, 2009 23:50
-
-
Save knzai/199332 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
git filter-branch -f --env-filter ' | |
ae=$GIT_AUTHOR_EMAIL | |
an=$GIT_AUTHOR_NAME | |
case $GIT_AUTHOR_NAME in | |
tconnor) | |
ae="[email protected]" | |
an="Tim Connor" | |
;; | |
other) | |
ae="[email protected]" | |
an="Other Person" | |
;; | |
esac | |
export GIT_AUTHOR_EMAIL=$ae | |
export GIT_AUTHOR_NAME=$an | |
export GIT_COMMITTER_EMAIL=$ae | |
export GIT_COMMITTER_NAME=$an | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment