git rebase -i HEAD~2
git commit --amend --author="Cesar Bueno <cesar.bueno.tx@gmail.com>"
git rebase --continue
Reset your username to the config globally: git config --global user.name example.
Reset your email to the config globally: git config --global user.email example@email.com.
Now reset the author of your commit without edit required: git commit --amend --reset-author --no-edit.