git filter-branch --commit-filter \ 'if [ "$GIT_AUTHOR_NAME" = "OLD-NAME" ]; then \ export GIT_AUTHOR_NAME="NEW-NAME";\ export GIT_AUTHOR_EMAIL=NEW-EMAIL;\ export GIT_COMMITTER_NAME="NEW-NAME";\ export GIT_COMMITTER_EMAIL=NEW-EMAIL;\ fi;\ git commit-tree "$@"'
No comments:
Post a Comment