show git logs with username 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 one line
git log --oneline
# commits by author
git shortlog -s --author="authorName"
# for all authors
git shortlog -sn --all
git log --oneline