At work we have a git repo where the majority of all commits are automated commits by a bot user. There are times when I prefer to view a git log from that repo, but without
Some other answers reference portions of this, but I had success in my repo using the tactic I saw here
git log --invert-grep --author=<pattern>
You can add as many author patterns as needed. In my case, the best pattern was the full email, since it is known to be unique
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
Not currently, although there seems to have been some discussion about supporting a -v option in the future, or making the current git log --not work for --author, --committer and --grep.
See also: How to invert git log --grep pattern.