LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-effort

Display commit activity and development effort per file

TLDR

Show effort for all files
$ git effort
copy
Show effort for a specific directory
$ git effort [src/]
copy
Only show files with more than N commits
$ git effort --above [50]
copy
Show effort for a specific file
$ git effort [path/to/file.js]
copy

SYNOPSIS

git effort [options] [path]

DESCRIPTION

git effort displays commit activity for files over time, showing which files receive the most attention through commit frequency and active days. The output ranks files by commit count and active days, helping identify hotspots and understand maintenance patterns in the codebase.Part of the git-extras suite, it reveals which areas of the codebase receive ongoing development effort, useful for planning code reviews and understanding project dynamics.

PARAMETERS

PATH

File or directory path to analyze. When omitted, analyzes the entire repository.
--above N
Only show files with more than N commits. Useful for filtering out low-activity files.
--help
Display help information.

CAVEATS

Part of git-extras package. Can be slow on large repos. Measures commits, not lines changed.

HISTORY

git effort is part of git-extras, created by TJ Holowaychuk to visualize development effort distribution.

SEE ALSO

Copied to clipboard
Kai