Last Updated: February 25, 2016
·
3.514K
· stickster

git log that excludes an author

This uses the advanced "negative lookahead" feature available in PCRE, perl-based regex functionality. Your version of grep must support PCRE, so you'll need to check the way your vendor builds it. There are tips out there for how to rebuild or get other versions if needed.

$ git config --global grep.patternType perl
$ git log --author='^((?!pattern).*)$'