set author email in git code example Example: How to change git author git commit --amend --author="Author Name <[email protected]>" --no-edit