Complete the command to keep your changes during a merge conflict.
git checkout --[1] -- <file>Using --ours tells Git to keep your current branch's version of the file during a conflict.
Complete the command to keep the other branch's changes during a merge conflict.
git checkout --[1] -- <file>Using --theirs tells Git to keep the changes from the branch you are merging in.
Fix the error in the command to resolve a conflict by choosing your version.
git checkout [1] <file>The correct syntax requires the double dash before 'ours' to specify the version.
Fill both blanks to create a command that resets a conflicted file to the other branch's version and stages it.
git checkout [1] -- [2]
This command resets src/main.py to the other branch's version using --theirs.
Fill all three blanks to create a command that adds a conflicted file using your version and commits the merge.
git checkout [1] -- [2] && git add [3] && git commit -m "Resolve conflict"
This command keeps your version of conflict.txt, stages it, and commits the merge resolution.