LinuxCommandLibrary

git-guilt

Track authorship changes between commits

TLDR

Show blame delta

$ git guilt [branch1] [branch2]
copy
Blame delta from origin/main
$ git guilt origin/main HEAD
copy
Show guilt for directory
$ git guilt HEAD~10 HEAD [src/]
copy

SYNOPSIS

git guilt since until [path]

DESCRIPTION

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.

PARAMETERS

SINCE

Starting commit.
UNTIL
Ending commit.
PATH
Limit to path.
--help
Display help information.

CAVEATS

Part of git-extras package. Blame-based analysis can be slow. Measures lines, not complexity.

HISTORY

git guilt is part of git-extras, providing blame-based change tracking named for the act of assigning "guilt" for code.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community