Search code examples
gitblame

git blame on a line modified multiple times?


if a line is modified back and forth between 2 versions several times, git blame seems to show only the latest commits on that line.

would it be possible to let it show all commits on that line?


Solution

  • git blame can't do that itself (but see below for a workaround).

    But git gui has a blame mode that allows you to drill down into commits.

    Invoke it with git gui blame <filename> once installed.