This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git filter-branch --commit-filter 'if [ "$GIT_COMMITER_NAME" = "oldname" ]; | |
| then | |
| GIT_COMMITER_NAME="newname"; | |
| GIT_AUTHOR_NAME="newname"; | |
| GIT_COMITTER_EMAIL="new@mail.com"; | |
| GIT_AUTHOR_EMAIL="new@mail.com"; | |
| git commit-tree "$@"; | |
| else | |
| git commit-tree "$@"; | |
| fi' HEAD | |
| Rewrite 8874a28cc870b1fbfe10f2c29e0e714d4be961f7 (50/50) | |
| WARNING: Ref 'refs/heads/master' is unchanged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment