git filter-branch --force --commit-filter '
if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ];
then
export GIT_COMMITTER_NAME="New Name";
export GIT_AUTHOR_NAME="New Nam";
export GIT_COMMITTER_EMAIL="[email protected]";
export GIT_AUTHOR_EMAIL="[email protected]";
fi;
git commit-tree "$@"
' --tag-name-filter cat -- --all
Created
January 26, 2021 09:07
-
-
Save marschhuynh/a939fabf7cf92e9f116dcb09771b2382 to your computer and use it in GitHub Desktop.
reset-commit-author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
+1