Rebase onto main

Replay your branch for a linear history.

A advanced Git challenge worth 20 points. Solve it hands-on in a real Git environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: feature is behind — main got a new commit (main2.txt) after you branched.

Task: Rebase feature onto main so it includes main2.txt and its history is linear (git rebase main).