Переглянути джерело

Add .gitattributes to normalize line endings

Scott Lahteine 7 роки тому
джерело
коміт
f0ef8a1cbd
1 змінених файлів з 19 додано та 0 видалено
  1. 19
    0
      .gitattributes

+ 19
- 0
.gitattributes Переглянути файл

@@ -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
+

Завантаження…
Відмінити
Зберегти