1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages/common/git-shortlog.md
2018-03-27 12:59:00 +05:30

19 lines
470 B
Markdown

# git shortlog
> Summarizes the `git log` output.
- View a summary of all the commits made, grouped alphabetically by author name:
`git shortlog`
- View a summary of all the commits made, sorted by the number of commits made:
`git shortlog -n`
- View a summary of all the commits made, grouped by the commiter identities (name and email):
`git shortlog -c`
- View a summary of the last 5 commits (i.e. specify a revision range):
`git shortlog HEAD~{{5}}..HEAD`