Question : git change commit author for all commits
Answered by : eiymba
# 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'"
Source : | Last Update : Wed, 12 Aug 20
Question : git last commit change author
Answered by : lucky-lark-od2ypbbg7h7d
git commit --amend --author="John Doe <[email protected]>"
Source : https://www.git-tower.com/learn/git/faq/change-author-name-email/ | Last Update : Thu, 18 Feb 21
Question : git change author multiple commits
Answered by : amichai-mantinband
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"
Source : https://stackoverflow.com/questions/4981126/how-to-amend-several-commits-in-git-to-change-author | Last Update : Sun, 29 Nov 20
Question : git change author of last 2 commits
Answered by : firststef
git rebase -i YOUR_SHA -x "git commit --amend --author 'New Name <[email protected]>' -CHEAD"
Source : https://stackoverflow.com/questions/4981126/how-to-amend-several-commits-in-git-to-change-author | Last Update : Fri, 20 Nov 20