forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-shortlog: add page (tldr-pages#2044)
- Loading branch information
1 parent
ef13e60
commit 4aa1e9c
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |