rename all commit author git code example
Example 1: git change commit author for all commits
# Changes the username and email of all commits from the start.
git rebase -i --root -x "git commit --amend --author='YOUR_USERNAME <[email protected]> --no-edit'"
Example 2: git squase to rename author
git commit --amend --author="Author Name <[email protected]>" --no-edit