-
Notifications
You must be signed in to change notification settings - Fork 34
/
.gitattributes
52 lines (48 loc) · 1.47 KB
/
.gitattributes
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
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
*.jpg binary
*.png binary
*.gif binary
*.tif binary
*.pdf binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
# others
*.xml diff=astextplain
*.css diff=astextplain
*.html diff=astextplain
*.js diff=astextplain
*.c text eol=lf
*.h text eol=lf
*.cpp text eol=lf
*.java text eol=lf
*.py text eol=lf
*.txt text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.cmake text eol=lf
*.sh text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto