Browse Source

Add .gitattributes for consistent eol handling

tags/0.31.0
cpfeiffer 1 year ago
parent
commit
9e44a7ad6d
1 changed files with 17 additions and 0 deletions
  1. 17
    0
      .gitattributes

+ 17
- 0
.gitattributes View File

@@ -0,0 +1,17 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.java text
*.gradle text
*.md text
*.properties text
*.xml text

# Declare files that will always have CRLF line endings on checkout.
#*.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
#*.png binary
#*.jpg binary

Loading…
Cancel
Save