Skip to the content.

Re-write Git History - Change Author

This will re-write all the branch commits with the new supplied name and email


git filter-branch -f --env-filter "GIT_AUTHOR_NAME='Mohammed Fayed'; GIT_AUTHOR_EMAIL='[email protected]'; GIT_COMMITTER_NAME='Mohammed Fayed'; GIT_COMMITTER_EMAIL='[email protected]';" HEAD