Before:
$ git log --format='%aE %aN' --author=yuangongji | sort | uniq -c
30
82787816@qq.com yuangongji
1
82787816@qq.com yuangongji (A)
After:
$ git log --format='%aE %aN' --author=yuangongji | sort | uniq -c
34 yuangongji@foxmail.com yuangongji
# name -> email
Azat Khuzhin <azat@libevent.org>
+yuangongji <yuangongji@foxmail.com>
-# email -> email
-<azat@libevent.org> <a3at.mail@gmail.com>
+# primary email -> alias
+<azat@libevent.org> <a3at.mail@gmail.com>
+yuangongji <yuangongji@foxmail.com> <82787816@qq.com>