git search by committer code example
Example 1: git commits by author
# commits by author
git shortlog -s --author="authorName"
# for all authors
git shortlog -sn --all
Example 2: git log by author
git log --author="Jon"
# commits by author
git shortlog -s --author="authorName"
# for all authors
git shortlog -sn --all
git log --author="Jon"