Changing author info To change the name and/or email address recorded in existing commits, you must rewrite the entire history of your Git repository. Warning: This action is destructive to your repository's history. If you're collaborating on a repo…
git log --author=authorname --author=<pattern>, commits whose author matches any of the given patterns are chosen (similarly for multiple --committer=<pattern>). 它接受正则表达式,返回所有作者名字满足这个规则的提交.如果你知道那个作者的确切名字你可以直接传入文本字符串: git log --author="Joh…