Search code examples
gitgit-diff

How show which commit changed which line in diff


I want to show information in diff (or similar tool for git) which line in file was changed by which commit.


Solution

  • Have a look at the git blame command: http://git-scm.com/docs/git-blame