Skip to content

Commit 0c4cd3e

Browse files
authored
Merge pull request #1238 from aceslowman/gitattributesFix
added gitattributes to disable autocrlf, addressing issue #1234
2 parents 5fb9804 + 22160e0 commit 0c4cd3e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.gitattributes

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Set default behaviour to automatically normalize line endings.
2+
* text=auto
3+
4+
# prevents git from converting LF to CRLF, which causes issues
5+
# when assembling example pages on Windows
6+
data/examples/**/*.js eol=lf
7+
8+
# Denote all files that are truly binary and should not be modified.
9+
*.ai binary
10+
*.gif binary
11+
*.ico binary
12+
*.jpg binary
13+
*.mov binary
14+
*.mp3 binary
15+
*.mp4 binary
16+
*.ogg binary
17+
*.ogv binary
18+
*.otf binary
19+
*.pdf binary
20+
*.png binary
21+
*.ttf binary
22+
*.wav binary
23+
*.webm binary
24+
*.zip binary

0 commit comments

Comments
 (0)