Complete the code to start resolving a merge conflict by opening the conflicted file.
git [1]The git status command shows files with conflicts after a merge.
Complete the command to view the conflict markers inside a file named app.js.
git [1] app.jsThe git diff command shows the differences including conflict markers in the file.
Fix the error in the conflict marker syntax shown below by completing the missing marker line.
<<<<<<< HEAD console.log('Version A'); [1] console.log('Version B'); >>>>>>> feature-branch
The conflict marker ======= separates the two conflicting changes.
Fill both blanks to complete the conflict markers for a file with conflicts.
<<<<<<< [1] code from first branch [2] code from second branch >>>>>>> branch-name
The first marker shows the current branch (HEAD) and the second marker (=======) separates the conflicting changes.
Fill all three blanks to correctly identify the conflict markers and branch names in a merge conflict.
<<<<<<< [1] code from first branch [2] code from second branch >>>>>>> [3]
The conflict starts with <<<<<<< HEAD, the separator is =======, and the conflict ends with the other branch name >>>>>>> feature-branch.