1GIT-SUMMARY(1) Git Extras GIT-SUMMARY(1)
2
3
4
6 git-summary - Show repository summary
7
9 git-summary [--dedup-by-email] [--no-merges] [<committish>]
10 git-summary --line [<path>]
11
13 Shows a summary of the repository.
14
16 <committish>
17
18 Summarize only the range of commits included in the <committish>.
19
20 <path>
21
22 Summarize only the range of files included in the <path>.
23
24 --dedup-by-email
25
26 Remove duplicate authors who belong to the same email address. For ex‐
27 ample,
28
29
30 $ git summary
31 ...
32 133 TJ Holowaychuk 9.9%
33 115 Tj Holowaychuk 8.5%
34
35 $ git summary --dedup-by-email
36 ...
37 248 TJ Holowaychuk 18.4%
38
39
40
41 --no-merges
42
43 Exclude merge commits.
44
45 --line
46
47 Summarize with lines other than commits. When --line is specified, the
48 last argument is treated as <path>.
49
50 This option can not be used together with --dedup-by-email or
51 --no-merges.
52
54 Outputs a repo summary:
55
56
57 $ git summary
58
59 project : express
60 repo age : 10 months ago
61 commits : 1893
62 active : 93 days
63 files : 111
64 authors :
65 1285 visionmedia
66 478 Tj Holowaychuk
67 48 Aaron Heckmann
68 34 csausdev
69 26 ciaranj
70 6 Guillermo Rauch
71 3 Nick Poulden
72 2 Brian McKinney
73 2 Benny Wong
74 1 Justin Lilly
75 1 James Herdman
76 1 Adam Sanderson
77 1 Viktor Kelemen
78 1 Gregory Ritter
79 1 Greg Ritter
80 1 ewoudj
81 1 isaacs
82 1 Matt Colyer
83
84
85
86 This command can also take a committish, and will print a summary for
87 the range of commits included in the committish:
88
89
90 $ git summary v42..
91
92
93
94 Outputs a repo summary by line:
95
96
97 $ git summary --line
98
99 project : git-extras
100 lines : 26820
101 authors :
102 ...
103
104
105
106 Filter with the path:
107
108
109 $ git summary --line bin/
110
111 project : git-extras
112 lines : 4420
113 authors :
114 ...
115
116
117
119 Written by Tj Holowaychuk <tj@vision-media.ca>
120
122 <https://github.com/tj/git-extras/issues>
123
125 <https://github.com/tj/git-extras>
126
127
128
129 August 2021 GIT-SUMMARY(1)