Rewrite name and email of author in Git commits
Change the author and committer name and e-mail of multiple commits in Git
Note: This rewrites the Git history!
CURRENT_EMAIL="[email protected]" NEW_EMAIL="[email protected]" NEW_NAME="New Name" git filter-branch -f --commit-filter ' if [ "$GIT_AUTHOR_EMAIL" = "$CURRENT_EMAIL" ]; then export GIT_AUTHOR_NAME="$NEW_NAME"; export GIT_AUTHOR_EMAIL="$NEW_EMAIL"; export GIT_COMMITTER_NAME="$NEW_NAME"; export GIT_COMMITTER_EMAIL="$NEW_EMAIL"; fi; git commit-tree "$@"'








