2005-08-15 02:24:36 +02:00
|
|
|
git-shortlog(1)
|
|
|
|
===============
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2010-01-10 00:33:00 +01:00
|
|
|
git-shortlog - Summarize 'git log' output
|
2005-08-15 02:24:36 +02:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2007-04-19 00:10:22 +02:00
|
|
|
[verse]
|
2008-06-30 08:09:04 +02:00
|
|
|
git log --pretty=short | 'git shortlog' [-h] [-n] [-s] [-e] [-w]
|
2010-05-04 04:57:10 +02:00
|
|
|
'git shortlog' [-n|--numbered] [-s|--summary] [-e|--email] [-w[<width>[,<indent1>[,<indent2>]]]] <commit>...
|
2005-08-15 02:24:36 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2010-01-10 00:33:00 +01:00
|
|
|
Summarizes 'git log' output in a format suitable for inclusion
|
2006-10-06 21:39:09 +02:00
|
|
|
in release announcements. Each commit will be grouped by author and
|
2006-06-07 20:32:33 +02:00
|
|
|
the first line of the commit message will be shown.
|
|
|
|
|
|
|
|
Additionally, "[PATCH]" will be stripped from the commit description.
|
|
|
|
|
2010-05-04 04:57:10 +02:00
|
|
|
If no revisions are passed on the command line and either standard input
|
|
|
|
is not a terminal or there is no current branch, 'git shortlog' will
|
|
|
|
output a summary of the log read from standard input, without
|
|
|
|
reference to the current repository.
|
|
|
|
|
2006-10-06 21:39:09 +02:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
-h::
|
|
|
|
--help::
|
2006-10-06 21:39:09 +02:00
|
|
|
Print a short usage message and exit.
|
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
-n::
|
|
|
|
--numbered::
|
2006-10-06 21:39:09 +02:00
|
|
|
Sort output according to the number of commits per author instead
|
|
|
|
of author alphabetic order.
|
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
-s::
|
|
|
|
--summary::
|
2007-01-17 16:32:41 +01:00
|
|
|
Suppress commit description and provide a commit count summary only.
|
2006-10-06 21:39:09 +02:00
|
|
|
|
2008-06-08 03:36:09 +02:00
|
|
|
-e::
|
|
|
|
--email::
|
2007-12-11 13:33:12 +01:00
|
|
|
Show the email address of each author.
|
|
|
|
|
2010-05-04 04:59:55 +02:00
|
|
|
--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 '{asterisk} [%h] %s'.
|
|
|
|
(See the "PRETTY FORMATS" section of linkgit:git-log[1].)
|
|
|
|
|
|
|
|
Each pretty-printed commit will be rewrapped before it is shown.
|
|
|
|
|
2008-04-13 00:38:20 +02:00
|
|
|
-w[<width>[,<indent1>[,<indent2>]]]::
|
|
|
|
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.
|
|
|
|
|
2009-02-08 15:34:31 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
include::mailmap.txt[]
|
2009-02-08 15:34:29 +01:00
|
|
|
|
|
|
|
|
2005-08-15 02:24:36 +02:00
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Jeff Garzik <jgarzik@pobox.com>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Junio C Hamano.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|