GIT-SUMMARY(1)
π GIT-SUMMARY(1) π
okay bestie, this is git-summary, one of the lil' icons living in the Git Extras collection π she's the one you call when you wanna know what a repo has been up to β who's been committing, how old it is, how many files are vibing in there. absolute main character energy, no cap π
πΈ NAME πΈ
git-summary β show repository summary π«Ά
β¨ SYNOPSIS β¨
git-summary [--dedup-by-email] [--no-merges] [<committish>]
git-summary --line [<path>]
π¦ DESCRIPTION π¦
She shows you a summary of the repository π β or, if you're feeling picky, a summary of just a path inside it. lowkey the fastest way to vibe check a codebase before you jump in π§
π OPTIONS π
<committish>β only summarize the range of commits that's included in the<committish>. so like, just that slice of history, bestie π°<path>β only summarize the range of files that's included in the<path>. narrowing it down, we love to see it π--dedup-by-emailβ removes duplicate authors who belong to the same email address π (yes, the same human committing underTJandTjβ we've all been there). it's giving mysterious-but-solved. for example:
$ git summary
...
133 TJ Holowaychuk 9.9%
115 Tj Holowaychuk 8.5%
$ git summary --dedup-by-email
...
248 TJ Holowaychuk 18.4%
--no-mergesβ exclude merge commits. bye bye merge noise, only the real ones remain π--full-pathβ show the full path of the repository instead of just its directory name. because sometimes you need the whole address, not just the nickname π‘--lineβ summarize with lines instead of commits. so when--lineis specified, the last argument is treated as<path>π
π¨ bestie heads up: this option can not be used together with--dedup-by-emailor--no-merges. pick a lane, she said π
--output-style <style>β summarizes the repo and prints the output in whatever style you picked, diva. the styles:tabular: prints the summary in a tabular form, with a header in the first line and the values in the second π the column separator is a|surrounded by at least one space on each side.oneline: prints the summary in a single line πͺ fields are separated by a/surrounded by one space on each side.
π some information, like the authors, cannot be displayed in this mode. it's a sacrifice, okay.
π₯ EXAMPLES π₯
outputs a repo summary
$ git summary
project : express
repo age : 10 months ago
branch : master
last active : 3 weeks ago
active on : 93 days
commits : 1893
files : 111
uncommitted : 3
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
and she can take a committish too
this command can also take a committish, and will print a summary for the range of commits included in the committish π
$ git summary v42..
outputs a repo summary by line
$ git summary --line
project : git-extras
lines : 26820
authors :
...
filter with the path
$ git summary --line bin/
project : git-extras
lines : 4420
authors :
...
tabular summary
$ git summary --output-style tabular
# Repo | Age | Last active | Active on | Commits | Uncommitted | Branch
git-extras | 13 years | 7 hours ago | 807 days | 1703 | 3 | master
oneline summary
$ git summary --output-style oneline
git-extras / age: 13 years / last active: 7 hours ago / active on 807 days / commits: 1703 / uncommitted: 3 / branch: master
π«Ά AUTHOR π«Ά
Written by Tj Holowaychuk <tj@vision-media.ca> β an actual legend, periodt π
π REPORTING BUGS π
found something cursed? spill it here: <https://github.com/tj/git-extras/issues>
π SEE ALSO π
<https://github.com/tj/git-extras>
and that's the whole page bestie, you ate π π much love from the Git Extras girlies, May 2026 edition β now go summarize something and slay β¨π¦π
π¦ where this page comes from
- ubuntu stonking: git-extras 7.5.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms