Linux command
git-guilt 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show blame delta
git guilt [branch1] [branch2]
Blame delta from origin/main
git guilt origin/main HEAD
Show guilt for directory
git guilt HEAD~10 HEAD [src/]
说明
git guilt shows the delta in blame between two commits, calculating which authors gained or lost lines of code between the specified revisions. The output shows net line changes per author, with positive numbers indicating lines added and negative indicating lines removed. Part of the git-extras suite, this tool reveals who is actively modifying which areas of the codebase, useful for understanding recent code ownership changes.
参数
- --help
- Display help information.
FAQ
What is the git-guilt command used for?
git guilt shows the delta in blame between two commits, calculating which authors gained or lost lines of code between the specified revisions. The output shows net line changes per author, with positive numbers indicating lines added and negative indicating lines removed. Part of the git-extras suite, this tool reveals who is actively modifying which areas of the codebase, useful for understanding recent code ownership changes.
How do I run a basic git-guilt example?
Run `git guilt [branch1] [branch2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --help do in git-guilt?
Display help information.