Quiz 12 Question 3 of 20

Two engineers pushed changes to main and to a feature branch, and both edited the same lines of inventory.yaml. After git merge feature, Git stops and marks the file as conflicted. The lead wants both edits kept, the conflict settled in the working tree, and history to show a true merge. Which git command sequence keeps both edits and completes the merge?

Select an answer to reveal the explanation.

Motivation