🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Searching Git History: all 10 questions

Quiz: Searching Git History · Question 3 of 10

What does git blame app.py show for each line?

What does git blame app.py show for each line?

  1. A.Every commit that ever touched the line
  2. B.The commit, author and date that last changed that line
  3. C.Only lines with bugs
  4. D.The line's original author only
Answer & explanation

Correct answer: The commit, author and date that last changed that line

Blame shows the most recent change to each line; use git show on the id for details.

Can you get the rest right without peeking?

Take the timed Quiz: Searching Git History quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →