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

Quiz: Undoing Changes · Question 5 of 10

What does git reflog help you do?

What does git reflog help you do?

  1. A.Format commit messages
  2. B.Find previous positions of HEAD and recover "lost" commits
  3. C.List remote branches
  4. D.Delete old branches
Answer & explanation

Correct answer: Find previous positions of HEAD and recover "lost" commits

reflog records where HEAD has been.

Can you get the rest right without peeking?

Take the timed Quiz: Undoing Changes quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →