git-shortlog.txt 1.3 KB
Newer Older
J
Junio C Hamano 已提交
1 2 3 4 5
git-shortlog(1)
===============

NAME
----
6
git-shortlog - Summarize 'git log' output
J
Junio C Hamano 已提交
7 8 9

SYNOPSIS
--------
10
[verse]
11
git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s]
12
git-shortlog [-n|--numbered] [-s|--summary] [<committish>...]
J
Junio C Hamano 已提交
13 14 15 16

DESCRIPTION
-----------
Summarizes 'git log' output in a format suitable for inclusion
17
in release announcements. Each commit will be grouped by author and
J
Jonas Fonseca 已提交
18 19 20 21
the first line of the commit message will be shown.

Additionally, "[PATCH]" will be stripped from the commit description.

22 23 24
OPTIONS
-------

25
-h, \--help::
26 27
	Print a short usage message and exit.

28
-n, \--numbered::
29 30 31
	Sort output according to the number of commits per author instead
	of author alphabetic order.

32
-s, \--summary::
33
	Suppress commit description and provide a commit count summary only.
34

J
Jonas Fonseca 已提交
35 36
FILES
-----
37 38

.mailmap::
J
Jonas Fonseca 已提交
39 40 41 42 43 44 45 46
	If this file exists, it will be used for mapping author email
	addresses to a real author name. One mapping per line, first
	the author name followed by the email address enclosed by
	'<' and '>'. Use hash '#' for comments. Example:

		# Keep alphabetized
		Adam Morrow <adam@localhost.localdomain>
		Eve Jones <eve@laptop.(none)>
J
Junio C Hamano 已提交
47 48 49 50 51 52 53 54 55 56 57

Author
------
Written by Jeff Garzik <jgarzik@pobox.com>

Documentation
--------------
Documentation by Junio C Hamano.

GIT
---
58
Part of the gitlink:git[7] suite