Skip to content

Commit

Permalink
git-shortlog: add page (#2044)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescalaguy authored and agnivade committed Mar 27, 2018
1 parent a3a9afb commit da60c8e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pages/common/git-shortlog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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`

0 comments on commit da60c8e

Please sign in to comment.