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
-
-
Save daltonnyx/b46539a40df2a57c3e9c24329d3b3c83 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