Modern QA2026Hands-On Exercise — tiles
Log inJoin
17 / 57 · 17 Git & Version Control · Rebase vs Merge← prev⊞ allnext →☰ Read as one page

2.9Hands-On Exercise

  1. Create a feature branch, make 5 commits (including some "WIP" and "fix typo" commits)
  2. Rebase the branch onto the latest main
  3. Use interactive rebase to squash the WIP commits into clean, logical commits
  4. Intentionally create a conflict and practice resolving it during rebase
  5. Push with --force-with-lease and verify the clean history
  6. Open a PR and use squash merge to complete it