A conflict happens when the same lines were changed differently on two branches. Git pauses the merge and marks the conflict in the file:
<<<<<<< HEAD
This is the version on main
=======
This is the version on feature
>>>>>>> feature
<<<, ===, >>>)git add <file> — mark as resolvedgit commit — finish the mergegit merge --abort # cancel the merge if you're stuck
The script creates a conflict in story.txt. Resolve it so the file contains exactly The hero wins., then finish the merge commit with message "Merge feature: hero wins".
Click "Run" to execute your code.