Skip to content

Commit 6921e03

Browse files
committed
🔧(git) set LF line endings for all text files
Windows users are by default using CRLF line endings, which can cause issues with some tools and environments. This commit sets the `.gitattributes` file to enforce LF line endings for all text files in the repository.
1 parent d48436b commit 6921e03

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitattributes

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Set the default behavior for all files
2+
* text=auto eol=lf
3+
4+
# Binary files (should not be modified)
5+
*.png binary
6+
*.jpg binary
7+
*.jpeg binary
8+
*.gif binary
9+
*.ico binary
10+
*.mov binary
11+
*.mp4 binary
12+
*.mp3 binary
13+
*.flv binary
14+
*.fla binary
15+
*.swf binary
16+
*.gz binary
17+
*.zip binary
18+
*.7z binary
19+
*.ttf binary
20+
*.woff binary
21+
*.woff2 binary
22+
*.eot binary
23+
*.pdf binary

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
## Fixed
12+
13+
🔧(git) set LF line endings for all text files #1032
14+
15+
1116
## [3.2.1] - 2025-05-06
1217

1318
## Fixed

0 commit comments

Comments
 (0)