Code QuizIntermediate

Rebasing to linearize history

A developer tries to rebase a feature branch onto main but rebases the wrong branch.

Codebash
# Goal: replay feature's commits on top of the latest main
git checkout main
git rebase feature

The goal is to linearize the feature branch on top of main. What is the bug?