git change author
2023, April, 15
gitHow-To
Change git commit author before pushing to remote repository.
git config user.name "username"git config user.email "<username@email.com>"
This changes user name and email for current git repo.
git rebase -r --root --exec "git commit --amend --no-edit --reset-author"
This will reset author for all commits. Commit date & time are also changed to current date time.
replace --root
with specific commit id for changing author from that commit onwards.