git filter-branch で過去ログを一括変更する
git filter-branch -f --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = "before@mailaddress" ];
then
GIT_AUTHOR_NAME="Your Name";
GIT_AUTHOR_EMAIL="after@mailaddress";
git commit-tree "$@";
else
git commit-tree "$@";
fi' HEAD
git push -f で強制 push する
git filter-branch 後に push するとエラーが出るので -f を付ける。
git push -f