Last updated 5 years ago
Was this helpful?
find out the commit a point earlier than the one you want to modify
execute the command:
git rebase -i <earlier_commit>
change the text from pick to edit in the list of the commits
pick
edit
to change the author of the commit:
git commit --amend --author="Author Name <email@address.com>"
git rebase --continue
git push -f