Find who changed a line

Git

Track ownership/history for a specific line range.

  1. 1

    Blame file

    git blame -L <start>,<end> <file>
  2. 2

    Inspect commit

    git show <sha>
  3. 3

    Understand intent

    git log -p -- <file>

Related commands: git blame, git show