Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rename a comitter (works with AUTHOR in place of COMITTER, of course)
git filter-branch -f --commit-filter '
if [ "$GIT_COMMITTER_NAME" = "name" ];
then
GIT_COMMITTER_NAME="New Name";
GIT_COMMITTER_EMAIL="new@email.com.com";
git commit-tree "$@";
else
git commit-tree "$@";
fi' -- --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.