Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I'll have to puff with the translation of my answer, but it deserves a green check, it's 146%.
If you know the contents of the line, this is an ideal use case for:
git log -S <search_string> -- path/to/file
which shows you commits which introduce or remove an instance of that string.
git blame - Shows which commit each line was added to. For deleted lines, you will have to look at the entire history.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question