Created
March 31, 2010 02:03
-
-
Save drewdeponte/349840 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" = "convert-repo" ] || [ "$GIT_COMMITTER_NAME" = "some_other_name" ]; | |
then | |
GIT_COMMITTER_NAME="Some Name Here"; | |
GIT_AUTHOR_NAME="Some Name Here"; | |
GIT_COMMITTER_EMAIL="<[email protected]>"; | |
GIT_AUTHOR_EMAIL="<[email protected]>"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; | |
fi' HEAD; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment