Answers for "git change commit author for all commits"

2

How to change git author

git commit --amend --author="Author Name <[email protected]>" --no-edit
Posted by: Guest on February-11-2021
0

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'"
Posted by: Guest on August-05-2020
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language