$ git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = "hoge@example.com" ]; then
GIT_AUTHOR_EMAIL="fuga@examplecom"
fi
git commit-tree "$@"
' HEAD
$ git push -f origin master
危険なので注意
More than 5 years have passed since last update.
$ git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = "hoge@example.com" ]; then
GIT_AUTHOR_EMAIL="fuga@examplecom"
fi
git commit-tree "$@"
' HEAD
$ git push -f origin master
危険なので注意
Register as a new user and use Qiita more conveniently