← 返回命令列表

Linux command

git-effort 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show effort for all files

git effort

Show effort for a specific directory

git effort [src/]

Only show files with more than N commits

git effort --above [50]

Show effort for a specific file

git effort [path/to/file.js]

说明

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.

参数

--above _N_
Only show files with more than N commits. Useful for filtering out low-activity files.
--help
Display help information.

FAQ

What is the git-effort command used for?

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.

How do I run a basic git-effort example?

Run `git effort` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --above _N_ do in git-effort?

Only show files with more than N commits. Useful for filtering out low-activity files.