Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit d4787af

Browse files
committed
.gitattributes normalize endings
1 parent 2582de8 commit d4787af

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.gitattributes

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
13+
14+
# These files are text and should be normalized (Convert crlf => lf)
15+
*.php text
16+
*.css text
17+
*.js text
18+
*.json text
19+
*.htm text
20+
*.html text
21+
*.xml text
22+
*.txt text
23+
*.ini text
24+
*.inc text
25+
*.pl text
26+
*.rb text
27+
*.py text
28+
*.scm text
29+
*.sql text
30+
.htaccess text
31+
*.sh text
32+
33+
# These files are binary and should be left untouched
34+
# (binary is a macro for -text -diff)
35+
*.png binary
36+
*.jpg binary
37+
*.jpeg binary
38+
*.gif binary
39+
*.ico binary
40+
*.mov binary
41+
*.mp4 binary
42+
*.mp3 binary
43+
*.flv binary
44+
*.fla binary
45+
*.swf binary
46+
*.gz binary
47+
*.zip binary
48+
*.7z binary
49+
*.ttf binary
50+
*.pyc binary

0 commit comments

Comments
 (0)