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).*)$'
Written by Paul Frields
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Regex
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#