Просмотр исходного кода

Add .gitattributes to normalize line endings

Scott Lahteine 7 лет назад
Родитель
Сommit
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
+

Загрузка…
Отмена
Сохранить