X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-shortlog.txt;h=b0df92e8192bc494e5d4db1707c233790560afb8;hb=6fe9c570ccd9f893d9a981cd8ea5f51dc21ceec8;hp=6968ca6060a075bdd2a53776f353dfabb444fc88;hpb=379955c696a417f0fb6118f2fd91dbffd2816ad1;p=git.git diff --git a/Documentation/git-shortlog.txt b/Documentation/git-shortlog.txt index 6968ca606..b0df92e81 100644 --- a/Documentation/git-shortlog.txt +++ b/Documentation/git-shortlog.txt @@ -1,21 +1,47 @@ git-shortlog(1) =============== -v0.99.4, Aug 2005 NAME ---- -git-shortlog - Summarize 'git log' output. - +git-shortlog - Summarize 'git log' output SYNOPSIS -------- -'git log --pretty=short | git shortlog' +git-log --pretty=short | 'git-shortlog' [-h] [-n] [-s] +git-shortlog [-n|--number] [-s|--summary] [...] DESCRIPTION ----------- Summarizes 'git log' output in a format suitable for inclusion -in release announcements. +in release announcements. Each commit will be grouped by author and +the first line of the commit message will be shown. + +Additionally, "[PATCH]" will be stripped from the commit description. + +OPTIONS +------- + +-h:: + Print a short usage message and exit. + +-n:: + Sort output according to the number of commits per author instead + of author alphabetic order. + +-s:: + Suppress commit description and provide a commit count summary only. + +FILES +----- +'.mailmap':: + 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 + Eve Jones Author ------ @@ -27,5 +53,5 @@ Documentation by Junio C Hamano. GIT --- -Part of the link:git.html[git] suite +Part of the gitlink:git[7] suite