amend multiple commits git code example
Example: git change author multiple commits
git config --global user.name "John Doe"
git config --global user.email [email protected]
git rebase -i YOUR_SHA -x "git commit --amend --reset-author -CHEAD"
git config --global user.name "John Doe"
git config --global user.email [email protected]
git rebase -i YOUR_SHA -x "git commit --amend --reset-author -CHEAD"