0

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

1
  • 1
    git blame <file> prints information for each line in <file>, including a short SHA of the commit that last changed each line. That's probably what you want to use. Commented May 22, 2015 at 7:39

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.