Skip to content

Instantly share code, notes, and snippets.

@Mickey-
Created March 9, 2014 09:17
Show Gist options
  • Save Mickey-/9444984 to your computer and use it in GitHub Desktop.
Save Mickey-/9444984 to your computer and use it in GitHub Desktop.
修改作者和所有提交者的name、email
git filter-branch --commit-filter 'export GIT_AUTHOR_NAME="Mickey-"; export GIT_AUTHOR_EMAIL="[email protected]";export GIT_COMMITTER_NAME="Mickey-"; export GIT_COMMITTER_EMAIL="[email protected]";git commit-tree "$@"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment