Skip to content

Commit afc19b1

Browse files
committed
add .gitattributes to avoid changelog conflicts
1 parent db77aa5 commit afc19b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Avoids changelog conflicts by assuming additions-only, which is by far the common case.
2+
# In the rare case where branch b1 rebases against branch b2 and both branches
3+
# modified the same changelog entry, you'll end up with that changelog entry
4+
# duplicated, which is easily identifiable and fixable.
5+
/changelog.md merge=union
6+

0 commit comments

Comments
 (0)