Interview practice question
Finding which commit broke the build
Cloud & DevOps · Git and Version Control · Intermediate
Tests started failing on main sometime in the last 200 commits, and nobody knows why. How do you find the cause quickly?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- git bisect start; mark bad/good.
- git bisect run with test command.
- ~8 steps for 200 commits.
- Investigate identified commit.
- Add CI to catch earlier.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.