equivalence of: git log –exclude-author?

From https://coderwall.com/p/tzdzwa :

git log --perl-regexp --author="^((?!excluded-author-regex).*)$"

This worked for me.

If you don’t want to specify --perl-regexp every time you can do:

git config --global grep.patternType perl

Leave a Comment