GIT-FAME(1)
β¨ GIT-FAME(1) β¨
okay bestie, welcome to the git-fame manual page, and yes it's literally the main character of contributor stats π
πΈ NAME πΈ
git-fame β pretty-print git repository collaborators sorted by contributions. that's it. that's the whole vibe. your repo's whole group chat, ranked, looking cute π
π¦ SYNOPSIS π¦
git-fame [--help | options] [<gitdir>...]
π DESCRIPTION π
go look at <https://github.com/casperdcl/git-fame>. that's the whole source of truth, no cap.
Probably not necessary on UNIX systems:
git config --global alias.fame "!python -m gitfame"
and like, for example, to print statistics regarding all source files in a C++/CUDA repository (*.c/h/t(pp), *.cu(h)), carefully handling whitespace and line copies:
git fame --incl '\.[cht][puh]{0,2}$' -twMC
obsessed with that command actually. -twMC is giving power user energy π₯
π OPTIONS π
<gitdir>β Git directory [default:./]. may be specified multiple times to aggregate across multiple repositories. yes you can stan several repos at once, she contains multitudes π«Ά-h,--helpβ print this help and exit. simple. iconic.-v,--versionβ print module version and exit. no notes.--branch=bβ branch or tag [default:HEAD] up to which to check.--sort=keyβ [default:loc]|commits|files|hours|months. pick your ranking metric bestie π--loc=typeβsurv(iving)|ins(ertions)|del(etions)β whatlocactually represents. useins,delto count both. defaults tosurvivingunless--costis specified.--excl=fβ excluded files (default:None). in no-regex mode, may be a comma-separated list. escape (\,) for a literal comma (may require\\,in shell). the shell is dramatic like that π--incl=fβ included files [default:.*]. see--exclfor format.--since=dateβ date from which to check. can be absoulte (eg:1970-01-31) or relative to now (eg:3.weeks). time travel but make it git β¨--cost=methodβ include time cost in person-months (COCOMO) or person-hours (based on commit times). Methods:month(s)|cocomo|hour(s)|commit(s). may be multiple comma-separated values. alters--locdefault to implyins(COCOMO) orins,del(hours). lowkey the glow-up option fr fr-R,--recurseβ recursively find repositories & submodules within .-n,--no-regexβ assume are comma-separated exact matches rather than regular expressions [default:False]. NB: if regex is enabled,is equivalent to|.-s,--silent-progressβ suppresstqdm[default:False]. bye bye progress bar, you were doing amazing sweetie π--warn-binaryβ don't silently skip files which appear to be binary data [default:False]. she will tell you, and honestly? good communication π-e,--show-emailβ show author email instead of name [default:False].--enumβ show row numbers [default:False].-t,--bytypeβ show stats per file extension [default:False].-w,--ignore-whitespaceβ ignore whitespace when comparing the parent's version and the child's to find where the lines came from [default:False].-Mdetect intra-file line moves and copies [default:False].-Cdetect inter-file line moves and copies [default:False]. the trio of truth π--ignore-rev=revβ ignore changes made by the given revision (requires--loc=surviving).--ignore-revs-file=fβ ignore revisions listed in the given file (requires--loc=surviving).--format=formatβ table format [default:pipe]|md|markdown|yaml|yml|json|csv|tsv|tabulate. may requiregit-fame[<format>], e.g.pip install git-fame[yaml]. anytabulate.tabulate_formatsis also accepted. pick your aesthetic, all of them slay π--manpath=pathβ directory in which to installgit-fameman pages.--log=lvlβFATAL|CRITICAL|ERROR|WARN(ING)|[default:INFO]|DEBUG|NOTSET.
π AUTHORS π
Casper da Costa-Luis <https://github.com/casperdcl>. the founder, the icon, the moment π
real talk bestie: if something here is dangerous, deprecated, or straight-up undefined behaviour, treat it with the respect it deserves. i'm not making up new behaviour for you β everything above is exactly what the page says, just with more sparkle πβ¨
that's a wrap! this was the git-fame User Manuals page, git-fame era 2016-2023, and yes it's still called GIT-FAME(1) around here. go rank your contributors, you absolute legend π¦πΈπ
π¦ where this page comes from
- fedora 43: git-fame 2.0.1-13.fc43 Β· MPL-2.0
- fedora 44: git-fame 2.0.1-14.fc44 Β· MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms