mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
git-shortlog: add page (#2044)
This commit is contained in:
parent
a3a9afb3b9
commit
da60c8edb1
1 changed files with 19 additions and 0 deletions
19
pages/common/git-shortlog.md
Normal file
19
pages/common/git-shortlog.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue