Quiz
Test your knowledge with the following questions:
- What is a merge conflict in GitHub?
- An error during file download
- A disagreement between team members
- Overlapping changes made to the same part of a file
- A problem with internet connectivity
Answer: C. Overlapping changes made to the same part of a file
- Merge conflicts occur only when two people change the same line in a file.
- True
- False
Answer: B. False (they can also occur with file deletions, renaming, and so on)
- In GitHub, you can’t use the _______ to manually resolve merge conflicts.
Answer: command line
- Why is it important to resolve merge conflicts in a project?
Answer: To ensure that the project has a coherent and functioning code base, reflecting the intended changes from all contributors.
- What does the
git merge
command do?- Deletes a branch
- Combines changes from different branches
- Changes the project name
- Creates a new file
Answer: B. Combines changes from different branches
- Merge conflicts are always...