Last active
August 11, 2023 05:11
-
-
Save danilodequeiroz/25f02bc2b7634094b968f0db5981dd32 to your computer and use it in GitHub Desktop.
update all al commit's email and username from gitlog to specific user
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
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='newusename'; GIT_AUTHOR_EMAIL='[email protected]'; GIT_COMMITTER_NAME='newusename'; GIT_COMMITTER_EMAIL='[email protected]';" HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment