Intermediate Vocabulary #git #rebase #history

🧬 Rewriting History Collocations

5 exercises on Git’s trickiest vocabulary: rebasing onto a base, interactive rebase, squashing, revert vs reset, and safely rewriting history.

Key patterns
  • rebase onto a base vs merge into a target
  • interactive rebase → reword / squash / drop
  • squash commits; cherry-pick a commit
  • revert (safe, public) vs reset (rewrite, private)
  • Never rewrite history on a shared branch
0 / 5 completed
1 / 5
Your feature branch started from an old commit on main. You want to replay its commits so they sit on top of the latest main. The standard phrasing uses which preposition?