Modern QA2026Hands-On Exercise — tiles
Log inJoin
40 / 57 · 17 Git & Version Control · Bisect and Cherry-Pick← prev⊞ allnext →☰ Read as one page

5.10Hands-On Exercise

  1. Create a repository with 20+ commits. Intentionally break a test in commit 12.
  2. Use git bisect (manual mode) to find the breaking commit.
  3. Repeat with automated bisect: git bisect run <test-command>
  4. Practice cherry-picking a single commit from one branch to another.
  5. Intentionally create a cherry-pick conflict, resolve it, and complete the cherry-pick.
  6. Write a bisect script that handles dependency installation and returns exit code 125 for un-buildable commits.