← 返回命令列表

Linux command

git-contrib 命令

文本

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

常用示例

Show author contributions

git contrib [author-name]

Show contributions for email

git contrib "[email@example.com]"

说明

git contrib displays a summary of commits by a specific author. It shows commit count and commit details, providing a quick overview of someone's contributions to the repository. The command searches commits by author name or email pattern using substring matching. It's useful for reviewing a contributor's work, generating contribution reports, or verifying commit attribution. This provides a more focused view than git log --author, specifically designed for quickly assessing an individual's contributions to the project.

参数

--help
Display help information.

FAQ

What is the git-contrib command used for?

git contrib displays a summary of commits by a specific author. It shows commit count and commit details, providing a quick overview of someone's contributions to the repository. The command searches commits by author name or email pattern using substring matching. It's useful for reviewing a contributor's work, generating contribution reports, or verifying commit attribution. This provides a more focused view than git log --author, specifically designed for quickly assessing an individual's contributions to the project.

How do I run a basic git-contrib example?

Run `git contrib [author-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in git-contrib?

Display help information.