-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.gitattributes
More file actions
57 lines (51 loc) · 1.2 KB
/
.gitattributes
File metadata and controls
57 lines (51 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# .gitattributes snippet to force users to use same line endings for project.
#
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text eol=lf
#
# The above will handle all files NOT found below
# https://help.github.com/articles/dealing-with-line-endings/
# https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
# These files are text and should be normalized (Convert crlf => lf)
*.php text
*.css text
*.js text
*.json text eol=lf
*.htm text
*.html text
*.xml text
*.txt text
*.ini text eol=lf
*.inc text
*.pl text
*.rb text
*.py text eol=lf
*.scm text
*.sql text eol=lf
.htaccess text
*.sh text eol=lf
*.yml text eol=lf
*.md text eol=lf
*.yml text eol=lf
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.pyc binary
# hide diffs for .po files by default
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
*.po linguist-generated