Free as in Freedom: Codeberg.org. Create your repos!
Browse Source

Add .gitattributes for consistent eol handling

tags/0.31.0
cpfeiffer 7 months 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 @@
1
+# Set the default behavior, in case people don't have core.autocrlf set.
2
+* text=auto
3
+
4
+# Explicitly declare text files you want to always be normalized and converted
5
+# to native line endings on checkout.
6
+*.java text
7
+*.gradle text
8
+*.md text
9
+*.properties text
10
+*.xml text
11
+
12
+# Declare files that will always have CRLF line endings on checkout.
13
+#*.sln text eol=crlf
14
+
15
+# Denote all files that are truly binary and should not be modified.
16
+#*.png binary
17
+#*.jpg binary

Loading…
Cancel
Save