← Quiz: Searching Git History: all 10 questions
Quiz: Searching Git History · Question 5 of 10
git bisect finds the first bad commit using which idea?
git bisect finds the first bad commit using which idea?
- A.Testing every commit from newest to oldest
- B.Binary search: test the middle commit and halve the range each time
- C.Random sampling of commits
- D.Comparing commit messages
Answer & explanation
Correct answer: Binary search: test the middle commit and halve the range each time
Each answer of good or bad discards half of the remaining commits.
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 →