Skip to content

Commit 1dd3e3f

Browse files
committed
Store all files using LF line endings.
1 parent 1afd859 commit 1dd3e3f

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.gitattributes

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# .gitattributes snippet to force users to use same line endings for project.
2+
#
3+
# Handle line endings automatically for files detected as text
4+
# and leave all files detected as binary untouched.
5+
* text=auto
6+
7+
#
8+
# The above will handle all files NOT found below
9+
# https://help.github.com/articles/dealing-with-line-endings/
10+
# https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
11+
12+
# These files are text and should be normalized (Convert crlf => lf)
13+
*.css text
14+
*.htm text
15+
*.html text
16+
*.inc text
17+
*.ini text
18+
*.js text
19+
*.json text
20+
*.php text
21+
*.pl text
22+
*.py text
23+
*.rb text
24+
*.scm text
25+
*.sh text
26+
*.sql text
27+
*.txt text
28+
*.xml text
29+
*.yaml text
30+
*.yml text
31+
32+
.htaccess text
33+
34+
# These files are binary and should be left untouched
35+
# (binary is a macro for -text -diff)
36+
*.7z binary
37+
*.fla binary
38+
*.flv binary
39+
*.gif binary
40+
*.gz binary
41+
*.ico binary
42+
*.jpeg binary
43+
*.jpg binary
44+
*.mov binary
45+
*.mp3 binary
46+
*.mp4 binary
47+
*.png binary
48+
*.pyc binary
49+
*.swf binary
50+
*.ttf binary
51+
*.zip binary

0 commit comments

Comments
 (0)