Skip to content

Commit

Permalink
Set merge=union git attribute for CHANGELOG.md
Browse files Browse the repository at this point in the history
Currently all PRs add a line to CHANGELOG.md; this means they almost always run into merge conflicts since they are adding different lines at the exact same place in the file.

With `merge=union`, git will automatically resolve these merge conflicts by keeping all lines from both sides.
  • Loading branch information
jessebraham committed Jul 12, 2023
1 parent 1c0a14c commit af27af8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md merge=union

0 comments on commit af27af8

Please sign in to comment.