Details
Replace git commit name and email
Proceed with caution!!!
This will replace the name and email of all previous commits!
git filter-branch -f --env-filter "
GIT_AUTHOR_NAME='Newname'
GIT_AUTHOR_EMAIL='new@email'
GIT_COMMITTER_NAME='Newname'
GIT_COMMITTER_EMAIL='new@email'
" HEAD
Hold Shift
and click Enter
to add nice line breaks.