table of contents
other versions
- wheezy 1:1.7.10.4-1+wheezy3
- wheezy-backports 1:1.9.1-1~bpo70+2
- jessie 1:2.1.4-2.1+deb8u2
- jessie-backports 1:2.11.0-3~bpo8+1
- testing 1:2.11.0-3
- unstable 1:2.11.0-4
- experimental 1:2.13.1+next.20170610-1
GIT-SHORTLOG(1) | Git Manual | GIT-SHORTLOG(1) |
NAME¶
git-shortlog - Summarize 'git log' outputSYNOPSIS¶
git log --pretty=short | git shortlog [-h] [-n] [-s] [-e] [-w] git shortlog [-n|--numbered] [-s|--summary] [-e|--email] [-w[<width>[,<indent1>[,<indent2>]]]] <commit>...
DESCRIPTION¶
Summarizes git log output in a format suitable for inclusion in release announcements. Each commit will be grouped by author and the first line of the commit message will be shown.OPTIONS¶
-h, --helpPrint a short usage message and exit.
-n, --numbered
Sort output according to the number of commits
per author instead of author alphabetic order.
-s, --summary
Suppress commit description and provide a
commit count summary only.
-e, --email
Show the email address of each author.
--format[=<format>]
Instead of the commit subject, use some other
information to describe each commit. <format> can be any string
accepted by the --format option of git log, such as * [%h] %s.
(See the "PRETTY FORMATS" section of git-log(1).)
-w[<width>[,<indent1>[,<indent2>]]]
Each pretty-printed commit will be rewrapped before it is shown.
Linewrap the output by wrapping each line at
width. The first line of each entry is indented by indent1 spaces, and the
second and subsequent lines are indented by indent2 spaces. width, indent1,
and indent2 default to 76, 6 and 9 respectively.
MAPPING AUTHORS¶
The .mailmap feature is used to coalesce together commits by the same person in the shortlog, where their name and/or email address was spelled differently.Proper Name <commit@email.xx>
<proper@email.xx> <commit@email.xx>
Proper Name <proper@email.xx> <commit@email.xx>
Proper Name <proper@email.xx> Commit Name <commit@email.xx>
Joe Developer <joe@example.com> Joe R. Developer <joe@example.com> Jane Doe <jane@example.com> Jane Doe <jane@laptop.(none)> Jane D. <jane@desktop.(none)>
Jane Doe <jane@desktop.(none)> Joe R. Developer <joe@example.com>
nick1 <bugs@company.xx> nick2 <bugs@company.xx> nick2 <nick2@company.xx> santa <me@company.xx> claus <me@company.xx> CTO <cto@coompany.xx>
<cto@company.xx> <cto@coompany.xx> Some Dude <some@dude.xx> nick1 <bugs@company.xx> Other Author <other@author.xx> nick2 <bugs@company.xx> Other Author <other@author.xx> <nick2@company.xx> Santa Claus <santa.claus@northpole.xx> <me@company.xx>
GIT¶
Part of the git(1) suiteNOTES¶
- 1.
- jane@laptop
mailto:jane@laptop
03/19/2016 | Git 1.7.10.4 |