Skip to content

Commit f55a406

Browse files
author
TraceNChase
committed
chore: add .gitattributes to tame line-endings
1 parent b484928 commit f55a406

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.gitattributes

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Text files: normalize to LF in repo
2+
* text=auto
3+
4+
# Windows-friendly line endings on checkout for common text
5+
*.ps1 text eol=crlf
6+
*.bat text eol=crlf
7+
*.cmd text eol=crlf
8+
9+
# Unix-style scripts remain LF (avoid breaking shebangs)
10+
*.sh text eol=lf
11+
*.py text eol=lf
12+
*.yml text eol=lf
13+
*.yaml text eol=lf
14+
*.md text eol=lf
15+
*.json text eol=lf
16+
17+
# Binary files
18+
*.png binary
19+
*.jpg binary
20+
*.jpeg binary
21+
*.gif binary
22+
*.pdf binary

0 commit comments

Comments
 (0)