Skip to content

Commit 94c14e3

Browse files
chore: add .gitattributes to enforce LF line endings (#14448)
1 parent e02bf79 commit 94c14e3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Normalize line endings to LF
2+
*.sh text eol=lf
3+
*.expect text eol=lf
4+
*.py text eol=lf
5+
*.yml text eol=lf
6+
*.yaml text eol=lf
7+
*.md text eol=lf
8+
9+
# Binary files — never touch line endings
10+
*.png binary
11+
*.jpg binary
12+
*.gif binary
13+
*.ico binary
14+
*.pdf binary

0 commit comments

Comments
 (0)