How to find commits by a specific user in Git?

user285020 picture user285020 · Jun 2, 2010 · Viewed 82.9k times · Source

Our project uses Git as the version control system and recently I needed to review someone's commits. How can I see a list of commits made by a specific user?

Answer

Amber picture Amber · Jun 2, 2010

git log --author=<pattern> will show the commit log filtered for a particular author. (--committer can be used for committer if the distinction is necessary).

http://git-scm.com/docs/git-log