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