Browse Source

Add .gitattributes to normalize line endings

Scott Lahteine 7 years ago
parent
commit
f0ef8a1cbd
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      .gitattributes

+ 19
- 0
.gitattributes View File

@@ -0,0 +1,19 @@
1
+# Set the default behavior, in case people don't have core.autocrlf set.
2
+* text=auto
3
+
4
+# Files with Unix line endings
5
+*.c   text eol=lf
6
+*.cpp text eol=lf
7
+*.h   text eol=lf
8
+*.ino text eol=lf
9
+*.py  text eol=lf
10
+*.sh  text eol=lf
11
+
12
+# Files with native line endings
13
+# *.sln text
14
+
15
+# Binary files
16
+*.png binary
17
+*.jpg binary
18
+*.fon binary
19
+

Loading…
Cancel
Save