1. Run this code to start git rebase
$ git rebase -i {COMMIT_HASH}
2. Change the lines that you want to edit from “pick” to “edit”
3.
$ git commit --amend --author="Author Name <email@address.com>"
4.
$ git rebase --continue
5. Use code below to update your origin with the updated commits.
$ git push -f
Ref : https://stackoverflow.com/questions/3042437/how-to-change-the-commit-author-for-one-specific-commit