-
-
Save adedayojs/2877d277d9f414b4a56b7ca6edc61586 to your computer and use it in GitHub Desktop.
Rewrite Git author history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be careful not to use this when you are working with an online repository | |
# Replace the fields containing the email and name with the appropriate values | |
git filter-branch -f --env-filter \ | |
"GIT_AUTHOR_NAME='adedayojs'; GIT_AUTHOR_EMAIL='[email protected]'; \ | |
GIT_COMMITTER_NAME='adedayojs'; GIT_COMMITTER_EMAIL='[email protected]';" HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment