Answers for "how to change the email in multiple git commits given the author name"

0

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"
Posted by: Guest on November-22-2020
0

git change author of last 2 commits

git rebase -i YOUR_SHA -x "git commit --amend --author 'New Name <[email protected]>' -CHEAD"
Posted by: Guest on November-13-2020

Code answers related to "how to change the email in multiple git commits given the author name"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language