@jeffjade
2018-01-21T17:47:43.000000Z
字数 357
阅读 1021
Git
https://jeffjade.com/2014/12/22/2014-12-22-gitmemo/
git filter-branch -f --commit-filter '
if [ "GIT_COMMITTER_EMAIL" != "jeffygisgreat@gmail.com" ];
then
GIT_AUTHOR_NAME="nicejade";
GIT_AUTHOR_EMAIL="jeffygisgreat@gmail.com";
GIT_COMMITTER_NAME="nicejade";
GIT_COMMITTER_EMAIL="jeffygisgreat@gmail.com";
git commit-tree "$@";
else
git commit-tree "$@";
fi' HEAD