change author name in pushed commit code example
Example 1: How to change git author
git commit --amend --author="Author Name <[email protected]>" --no-edit
Example 2: git change commit id email
$ git config --global user.name "John Doe"
$ git config --global user.email "[email protected]"