Git: How do I find which commit deleted a line?
Use git blame
with the --reverse
option:
$ git blame --reverse START.. file.ext
where START is a revision which still contains the line in question.
Use git blame
with the --reverse
option:
$ git blame --reverse START.. file.ext
where START is a revision which still contains the line in question.