Git で間違ったメールアドレスの一括変更

$ git filter-branch --commit-filter '
        if [ "$GIT_AUTHOR_EMAIL" = "old_address@example.com" ];
        then
                GIT_AUTHOR_NAME="Author name";
                GIT_AUTHOR_EMAIL="new_address@example.com";
                git commit-tree "$@";
        else
                git commit-tree "$@";
        fi' HEAD