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