git filter-branch --commit-filter ' if [ "$GIT_COMMITTER_EMAIL" = "wrong_email@example.com" ]; then GIT_COMMITTER_NAME="Your Name"; GIT_COMMITTER_EMAIL="your_email@example.com"; GIT_AUTHOR_NAME="Your Name"; GIT_AUTHOR_EMAIL="your_email@example.com"; git commit-tree "$@"; else git commit-tree "$@"; fi' HEAD