← 返回命令列表

Linux command

git-summary 命令

文本

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

常用示例

Show repository summary

git summary

Show line-based statistics

git summary --line

Show line statistics for a specific path

git summary --line [path/to/dir]

Dedup authors by email

git summary --dedup-by-email

Exclude merge commits

git summary --no-merges

Show output in tabular format

git summary --output-style tabular

说明

git summary outputs a repository overview including project age, number of active days, total commits, and per-author contribution statistics. Part of git-extras, it provides a quick snapshot of project activity.

参数

--line
Show line statistics instead of commits. Can take an optional path to filter.
--dedup-by-email
Deduplicate authors by email address.
--no-merges
Exclude merge commits from the summary.
--output-style _style_
Output format: tabular or oneline.

FAQ

What is the git-summary command used for?

git summary outputs a repository overview including project age, number of active days, total commits, and per-author contribution statistics. Part of git-extras, it provides a quick snapshot of project activity.

How do I run a basic git-summary example?

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

What does --line do in git-summary?

Show line statistics instead of commits. Can take an optional path to filter.