Git · Junior · Question 37 of 75
How do you find who last changed each line of a file?
- ✓Correct answer:
git blame file.js - 2
git show --lines file.js - 3
git log --who file.js
Explanation
git blame annotates each line with the commit and author that last touched it. It's for understanding context, not for blaming people.