how to reset author in previous commit git code example
Example: git change commit id email
$ git config --global user.name "John Doe"
$ git config --global user.email "[email protected]"
$ git config --global user.name "John Doe"
$ git config --global user.email "[email protected]"