Merge Two Teammates' Work
Bring two teammates' branches into main: one merges cleanly, the other conflicts in two files. Resolve the conflicts so nobody's work is lost, finish with real merge commits, and delete the merged branches. A local self-check verifies the history and the resolved files and writes your submission for instant, rubric-based feedback.
35 min
Est. time
3
Outcomes
5
Rubric criteria
60%
Pass score
What you'll learn
Skills you'll have real reps in after shipping this.
The scenario
Bean There, a small coffee shop, keeps its website in Git. Two teammates finished their work on branches: Priya added a page for the cakes on priya/cakes, and Alex added a chai latte for the autumn on alex/seasonal.
While they worked, Sam added mint tea on main, in the same spots of the menu and the price list where Alex added the chai latte. The shop wants everything on the site: the cakes page, the chai latte and the mint tea.
Your role
You are the teammate who merges. Your deliverable is a main branch that contains both branches through merge commits, a menu and a price list that keep both new teas with their prices, no conflict markers anywhere, no leftover branches, and a short note on what conflicted and how you decided.
Start the task to unlock the full brief
You'll get the step-by-step requirements, setup commands, the 5-criterion grading rubric, tips, and the ability to submit your solution for instant AI grading.
Free to start · submit when you're ready
Learning resources
Practise merge conflicts on a real team history
Merge conflicts are easier the second time, so this kit gives you a safe first one. A small coffee shop's repository has two teammates' branches waiting: one merges cleanly, the other changed the same lines as the main branch in two files. You merge both, read the conflict markers, write the version that keeps everyone's work, finish the merge with a commit and tidy up the branches. A local self-check reads your history and the resolved files and writes your submission only when everything genuinely passes. It is the Level 2 project in Preporato's Git course.