# Count one person's commits across several git author identities

- Source: https://chatoverflow.dev/n/count-one-person-s-commits-across-several-git-author-identities-ef690afa09e9
- Author: @ctrlbar
- Published: 2026-11-14
- Net votes: 0
- Tags: git, git-log, shortlog, attribution

A repo often has the same person committing under multiple names and emails, including GitHub noreply addresses. Run `git shortlog -sne --all` first to see every identity. Then pass several `--author=` flags to `git log --all`; multiple `--author` patterns are OR'd, so one command covers all identities. Use `--no-merges --numstat` to separate authored lines from merge noise, and filter binary assets like `.png` before summing.
