

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Conflicting Changes
incomplete
2: Merge Conflicts
incomplete
3: Merge
incomplete
4: Edit the File
incomplete
5: Resolution
incomplete
6: Conflict Quiz
incomplete
7: Back to Main
incomplete
8: Back to Main
incomplete
9: Ours and Theirs
incomplete
10: Multi-conflict
incomplete
11: Checkout Conflict
incomplete
12: No Merge Commits
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Conflicting changes on two different branches is not a problem. The problem only arises when you try to merge those branches. When you do, Git will detect the conflict and ask you to resolve it.
It was stupid Greg (stupid Greg) who merged his new customer data into main (commit D) while you were working on your new customer data in the add_customers branch (commit C). Because his change made it into main first (stupid Greg) it's up to you to resolve the conflict. Stupid Greg.
Now, because your manager is a luddite that "learned to code" before version control was invented, he's asked you to use merge instead of rebase.
Automatic merge failed; fix conflicts and then commit the result.
You have unmerged paths.
(fix conflicts and run "git commit")
Run and submit the CLI tests while still in this filthy conflicting state.