I used the wonderful git filter-branch
script to rewrite all author and committer emails. I even used --tag-name-filter cat
to rewrite the tags:
git filter-branch --tag-name-filter cat --env-filter '
if test "$GIT_AUTHOR_EMAIL" = "[email protected]"
then
[email protected]
fi
if test "$GIT_COMMITTER_EMAIL" = "[email protected]"
then
[email protected]
fi
' -- --all
Everything seemed to work OK, except that the rewritten tags still have a "tagger" property with the email set to [email protected]
. I read the [filter-branch
documentation][1], yet I can't find anything similar to TAGGER_EMAIL
.
How can I change the tagger email when updating the Git history?