snippetbashTip
git shortlog — Summarizes the `git log` output. More information: <https://git-scm.com/docs/git-shortlog>.
Viewed 0 times
thecommandclisummarizesloggit shortloggitoutput
Problem
How to use the
git shortlog command: Summarizes the git log output. More information: <https://git-scm.com/docs/git-shortlog>.Solution
git shortlog — Summarizes the git log output. More information: <https://git-scm.com/docs/git-shortlog>.View a summary of all the commits made, grouped alphabetically by author name:
git shortlogView a summary of all the commits made, sorted by the number of commits made:
git shortlog {{[-n|--numbered]}}View a summary of all the commits made, grouped by the committer identities (name and email):
git shortlog {{[-c|--committer]}}View a summary of the last 5 commits (i.e. specify a revision range):
git shortlog HEAD~5..HEADView all users, emails, and the number of commits in the current branch:
git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}View all users, emails, and the number of commits in all branches:
git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}} --allCode Snippets
View a summary of all the commits made, grouped alphabetically by author name
git shortlogView a summary of all the commits made, sorted by the number of commits made
git shortlog {{[-n|--numbered]}}View a summary of all the commits made, grouped by the committer identities (name and email)
git shortlog {{[-c|--committer]}}View a summary of the last 5 commits (i.e. specify a revision range)
git shortlog HEAD~5..HEADView all users, emails, and the number of commits in the current branch
git shortlog {{[-s|--summary]}} {{[-n|--numbered]}} {{[-e|--email]}}Context
tldr-pages: common/git shortlog
Revisions (0)
No revisions yet.