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
More Related Contents:
- How do I rename a local Git branch?
- How do I check out a remote Git branch?
- How to modify a specified commit?
- How to change the author and committer name and e-mail of multiple commits in Git?
- How to retrieve the hash for the current commit in Git?
- How can I delete a file from a Git repository?
- How to recover a dropped stash in Git?
- Could not open a connection to your authentication agent
- Recover from git reset –hard?
- Recovering added/staged file after doing git reset –hard HEAD^?
- How do I remove the old history from a git repository?
- git-upload-pack: command not found, when cloning remote Git repo
- Update Git submodule to latest commit on origin
- Making git auto-commit
- How to get back to the latest commit after checking out a previous commit?
- Why should I care about lightweight vs. annotated tags?
- How to prepend the past to a git repository?
- How can I fetch an unmerged pull request for a branch I don’t own?
- Record file copy operation with Git
- How to manage configuration files when collaborating?
- What Git branching models work for you?
- The unauthenticated git protocol on port 9418 is no longer supported
- Your branch is ahead of ‘origin/master’ by 3 commits
- How to add a changed file to an older (not last) commit in Git
- Changing the Git remote ‘push to’ default
- Transfer git repositories from GitLab to GitHub – can we, how to and pitfalls (if any)?
- Create empty branch on GitHub
- Restore file from old commit in git
- Git clone repository error: RPC failed; result=56, HTTP code = 200
- Commit a file to a Different Branch Without Checkout