logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-guilt - calculate change between two revisions

Author

       Written by spacewander <spacewanderlzx@gmail.com>

Description

       In the first form, shows total blame count for files with unstaged changes.

       In  the second form, calculates the change in blame between two revisions. If not specified, <until> will
       default to HEAD.

Examples

       Find blame on unstaged modified files:

           $ git guilt      (1)
           spacewander                   ++++

           (1) There is only one modified file and it is not staged. The four
           pluses means that the file has four lines, all contributed by spacewander.

       Find blame delta between two commits:

           $ git guilt HEAD~3 HEAD^
           spacewander                   +++++++++++++++++++++++++++++++++++++++++++++(115)
           Jesse Sipprell                -

       Find blame delta over the last three weeks:

           $ git guilt `git log --until="3 weeks ago" --format="%H" -n 1`
           Paul Schreiber                +++++++++++++++++++++++++++++++++++++++++++++(349)
           spacewander                   +++++++++++++++++++++++++++++++++++++++++++++(113)
           Mark Eissler                  ++++++++++++++++++++++++++
           CJ                            +++++
           nickl-                        -
           Jesse Sipprell                -
           Evan Grim                     -
           Ben Parnell                   -
           hemanth.hm                    --

       Since git 1.8.5, the above can also be written as:

       $ git guilt @{3.weeks.ago}

       Find blame delta for a topic branch:

           $ git guilt `git merge-base master git-guilt` git-guilt
           spacewander                   +++++++++++++++++++++++++++++++++++++++++++++(112)

Name

git-guilt - calculate change between two revisions

Options

       -h

       Output usage information

       -e, --email

       Display author emails instead of names

       -w, --ignore-whitespace

       Ignore whitespace only changes when attributing blame

       -d, --debug

       Output debug information

Reporting Bugs

       <https://github.com/tj/git-extras/issues>

See Also

       <https://github.com/tj/git-extras>

                                                  October 2024                                      GIT-GUILT(1)

Synopsis

gitguilt [<option>]
       gitguilt [<option>] <since> [<until>]

See Also