1
0
mirror of https://github.com/alibaba/anyproxy.git synced 2025-07-15 19:52:05 +00:00

19 lines
475 B
Bash
Raw Normal View History

2014-09-09 10:53:53 +08:00
#!/bin/sh
git filter-branch -f --env-filter '
OLD_EMAIL="5918760@gmail.com"
CORRECT_NAME="想当当"
CORRECT_EMAIL="donghua.yan@alipay.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_AUTHOR_NAME="$CORRECT_NAME"
export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
fi
' --tag-name-filter cat -- --branches --tags