My git repository is imported from svn. And the username in git log
is something like 0129. I want to override it with my setting like John instead of 0129. And I find this:
Is there a way to override a git author's display name in local repository config?
The .mailmap solution works well in git shortlog
, but git log
still give the same output. Any suggestions?
EDIT
I've check Change the author and committer name and e-mail of multiple commits in Git too but I don't want to run git filter branch
every time after git svn rebase
.