mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Since using --line only makes git-summary call git-line-summary the example is redundant. It is also somewhat smelly to document other functions than it's own like that.
71 lines
1.4 KiB
Markdown
71 lines
1.4 KiB
Markdown
git-summary(1) -- Show repository summary
|
|
=========================================
|
|
|
|
## SYNOPSIS
|
|
|
|
`git-summary` [--line] [<commitish>]
|
|
|
|
## DESCRIPTION
|
|
|
|
Shows a summary of the repository.
|
|
|
|
## OPTIONS
|
|
|
|
<commitish>
|
|
|
|
Summarize only the range of commits included in the <commitish>.
|
|
|
|
--line
|
|
|
|
Summarize with lines other than commits. This actually just results in a call
|
|
to `git-line-summary`(1). Any <commitish> is ignored when --line is specified.
|
|
See `git-line-summary`(1) for more info.
|
|
|
|
## EXAMPLES
|
|
|
|
Outputs a repo summary:
|
|
|
|
$ git summary
|
|
|
|
project : express
|
|
repo age : 10 months ago
|
|
commits : 1893
|
|
active : 93 days
|
|
files : 111
|
|
authors :
|
|
1285 visionmedia
|
|
478 Tj Holowaychuk
|
|
48 Aaron Heckmann
|
|
34 csausdev
|
|
26 ciaranj
|
|
6 Guillermo Rauch
|
|
3 Nick Poulden
|
|
2 Brian McKinney
|
|
2 Benny Wong
|
|
1 Justin Lilly
|
|
1 James Herdman
|
|
1 Adam Sanderson
|
|
1 Viktor Kelemen
|
|
1 Gregory Ritter
|
|
1 Greg Ritter
|
|
1 ewoudj
|
|
1 isaacs
|
|
1 Matt Colyer
|
|
|
|
This command can also take a commitish, and will print a summary for the range
|
|
of commits included in the commitish:
|
|
|
|
$ git summary v42..
|
|
|
|
## AUTHOR
|
|
|
|
Written by Tj Holowaychuk <<tj@vision-media.ca>>
|
|
|
|
## REPORTING BUGS
|
|
|
|
<<https://github.com/tj/git-extras/issues>>
|
|
|
|
## SEE ALSO
|
|
|
|
<<https://github.com/tj/git-extras>>
|