Skip to content

Commit 6b2ace9

Browse files
Update
2 parents ac4a436 + 9914acb commit 6b2ace9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.gitattributes

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Универсальное поведение строк
2+
* text=auto
3+
4+
# Windows
5+
*.bat text eol=crlf
6+
*.cmd text eol=crlf
7+
8+
# Явное указание для популярных расширений
9+
*.py text eol=lf
10+
*.js text eol=lf
11+
*.ts text eol=lf
12+
*.sh text eol=lf
13+
*.html text eol=lf
14+
*.css text eol=lf
15+
*.md text eol=lf
16+
*.yml text eol=lf
17+
*.json text eol=lf
18+
19+
# Исключаем двоичные файлы (оставляем как есть)
20+
*.jpg binary
21+
*.png binary
22+
*.gif binary
23+
*.ico binary
24+
*.pdf binary
25+
*.zip binary
26+
*.rar binary
27+
*.exe binary
28+
*.dll binary

0 commit comments

Comments
 (0)