GIT-EFFORT(1)
π GIT-EFFORT(1) β Git Extras π
okay bestie, sit down, hydrate, because we're about to talk about git-effort. it's the little Git Extras baddie that tells you which of your files are doing the most work. main character stats, no cap.
β¨ NAME β¨
git-effort β show effort statistics on file(s) π¦
πΈ SYNOPSIS πΈ
git-effort [--above <value>] [<path>...] [-- [<log options>...]]
π DESCRIPTION π
it shows effort statistics about the files in your repository. like, who's actually pulling their weight in this repo? the drama. the reveals.
the display includes these two icons:
- Commits β the number of commits per file. it highlights the files with the most activity, so you can see who's been eating. π
- Active days β the total number of days that contributed modifications to this file. so if a file got touched on 18 different days, that's 18, bestie. consistency! π
π OPTIONS π
--above <value>β ignore files with commits<=a value. so if you only care about the mains and not the extras, set a floor and vibe. π<path>...β only count commits that touch the given paths. keep it scoped, keep it cute.
heads up:git-effortdoes not accept revision ranges, but the underlyinggit logdoes (check the examples! π).
<log options>...β options forgit log. and listen, you must use--to separate the options going togit logfrom the options going togit effort. that little separator is what makes it possible to only count commits you're actually interested in. not every option is relevant in the context ofgit-effort, but the ones that are relevant are listed under the "Commit Limiting" section on thegit-logmanpages. so go read that if you want the deep lore. π
π₯ EXAMPLES π₯
note: output will first appear unsorted, then the screen gets cleared and the sorted list is output. the initial unsorted list is not shown in the examples, for brevity. it's giving chaos then clarity, honestly.
displays "effort" statistics:
$ git effort --above 5
file commits active days
git-extras 26 18
git-release 13 13
git-effort 13 2
git-ignore 11 7
git-changelog 11 8
git-graft 9 6
git-summary 8 6
git-delete-branch 8 6
git-repl 7 5
$ git effort --above 5 bin/* -- --after="one year ago" --author="Leila Muhtasib"
file commits active days
git-extras 15 12
git-release 6 4
git-effort 6 2
git-ignore 4 4
git-changelog 3 2
git-graft 2 2
showing statistics on directories is also possible, which is lowkey the most useful thing ever:
$ git effort bin man -- --after="one year ago"
file commits active days
bin.......................................... 406 232
man.......................................... 118 80
only count commits in the specified revision range:
$ git effort -- master..feature
file commits active days
bin/git-effort............................... 3 2
man/git-effort.md............................ 1 1
π AUTHOR π
Written by Leila Muhtasib <muhtasib@gmail.com> β icon behavior, honestly. π
π REPORTING BUGS π
<https://github.com/tj/git-extras/issues>
if something's broken, tell them there. we don't gatekeep bugs in this house.
π SEE ALSO π
<https://github.com/tj/git-extras>
and that's the whole page, bestie!! no cap, you're now officially certified in git-effort π§β¨ this was brought to you by the Git Extras girlies, from the May 2026 edition of the GIT-EFFORT(1) manual page. periodt. π
π«Ά
π¦ 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