Skip to content

Commit e4a7399

Browse files
boneliferclaude
andauthored
Enforce LF line endings with .gitattributes (#6)
"* text=auto eol=lf" so text files are stored with LF, plus binary rules for image types so their bytes are never converted. Existing export-ignore rules are kept. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 91c458b commit e4a7399

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.gitattributes‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Normalize line endings to LF in the repository
2+
* text=auto eol=lf
3+
4+
# Never convert line endings in binary files
5+
*.png binary
6+
*.jpg binary
7+
*.jpeg binary
8+
*.gif binary
9+
*.webp binary
10+
*.ico binary

0 commit comments

Comments
 (0)