Identifying a Merge Conflict
When merging branches in Git, what sign in a file indicates that a merge conflict has occurred?
- u003Cu003Cu003Cu003Cu003Cu003Cu003C
- ///////
- =======u003Eu003C
- !!!!!!!
- u0026u0026u0026u0026u0026u0026u0026
Basic Merge Conflict Resolution Command
Which Git command should you run after manually fixing merge conflicts to mark the conflicted files as resolved?
- git add
- git merge --abort
- git commit --fix
- git resolve
- git clear
Common Editor for Conflict Resolution
Which command launches the default merge conflict editor set in Git to help you resolve conflicts?
- git mergetool
- git edittree
- git fix
- git editor --merge
- git resolve-editor
Aborting a Merge with Conflicts
If you want to cancel an in-progress merge with conflicts and revert to the previous state, which command should you use?
- git merge --abort
- git merge --reset
- git cancel-merge
- git stop merge
- git revert-merge
Understanding HEAD in Conflict Markers
In a conflict marker, what does the term 'HEAD' typically refer to?
- Your current branch before the merge
- The remote tracking branch
- The most recent commit on the other branch
- A detached commit pointer
- The first commit in the repository
Resolving All Conflicts Automatically
Which command tries to automatically resolve as many conflicts as possible by favoring the changes from your branch and dismissing those from the merging branch?
- git merge -X ours
- git merge -X theirs
- git merge --favor-us
- git conflict-fix --auto
- git merge --ours-fix
Committing After Conflict Resolution
After resolving all merge conflicts and staging the changes, which command completes the merge process?
- git commit
- git merge --continue
- git resolve --commit
- git commit --merge-finish
- git end-merge
What NOT to Do During Merge Conflict
Which of the following should you avoid when resolving a merge conflict in Git?
- Deleting all conflict markers without choosing which changes to keep
- Using a merge tool
- Editing the file to select desired changes
- Running 'git add' after resolving
- Running 'git status' to check which files are conflicted
Checking for Remaining Conflicts
What is the Git command to show files that still have unresolved merge conflicts?
- git status
- git log --conflicts
- git show-conflicts
- git diff-resolve
- git conflicts
Using Conflict Markers
What are the three main conflict marker lines you find in a conflicted file after a merge in Git?
- u003Cu003Cu003Cu003Cu003Cu003Cu003C, =======, u003Eu003Eu003Eu003Eu003Eu003Eu003E
- u003Cu003Cu003Cu003Cu003Cu003C, ///////, u003Eu003Eu003Eu003Eu003Eu003E
- ---HEAD---, ---BASE---, ---END---
- u003Cu003Cu003CHEAD, ===, u003Eu003Eu003EMERGE
- ***START***, ***DIVIDER***, ***END***