Git · Junior · Question 75 of 75

Two people edited different functions in the same file. What happens when their branches merge?

Explanation

Merging works on changed regions of lines, not whole files. Conflicts appear only when both sides changed the same or adjacent lines.

Further reading

Problem with a question

Git · Junior · question 75

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz