Git · Senior · Question 61 of 76

What does a custom merge driver in .gitattributes allow?

Explanation

For example CHANGELOG.md merge=union keeps lines from both sides, avoiding conflicts on append-only files. The driver must also be configured in Git config.

Further reading

Problem with a question

Git · Senior · question 61

Test yourself

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

Take this quiz