-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitattributes
executable file
·137 lines (120 loc) · 3.8 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# doc: https://git-scm.com/docs/gitattributes
# author : brunocampos01
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
* text eol=lf
# Documents
*.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
*.gitattributes text
.gitignore text
*.md text
*.css text diff=css
*.df text
*.htm text diff=html
*.html text diff=html
*.js text
*.jsp text
*.jspf text
*.jspx text
*.properties text
*.tld text
*.tag text
*.tagx text
*.xml text
# Shell scripts require LF
*.sh text eol=lf
# Batch scripts require CRLF
*.bat text eol=crlf
###############################################################################
# Binary Files
# Image, video and compress files are treated
# as binary by default and should not be modified.
###############################################################################
*.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
*.tar binary
*.7z binary
*.ttf binary
###############################################################################
# Python
###############################################################################
# Source files
# ============
*.pxd text diff=python eol=lf
*.py text diff=python eol=lf
*.py3 text diff=python eol=lf
*.pyw text diff=python eol=lf
*.pyx text diff=python eol=lf
*.pyz text diff=python eol=lf
*.pyi text diff=python eol=lf
*.ipynb text diff=python eol=lf
# Binary files
# ============
*.db binary
*.p binary
*.pkl binary
*.pickle binary
*.pyc binary
*.pyd binary
*.pyo binary
###############################################################################
# Java
###############################################################################
# Binary files
# ============
*.class binary
*.dll binary
*.ear binary
*.jar binary
*.so binary
*.war binary
*.jks binary
###############################################################################
# reclassifies files
###############################################################################
# Example of a `.gitattributes` file which reclassifies `.rb` files as Java:
*.sh linguist-language=Shell
*.rb linguist-language=Ruby
*.java linguist-language=Java
*.pl linguist-language=Prolog
*.Rmd linguist-language=R
*.py linguist-language=Python
*.ipynb linguist-language=Python
*.sql linguist-detectable=true
*.sql linguist-language=sql
*.PLpgSQL linguist-language=sql
*.TSQL linguist-language=sql
###############################################################################
# Vendored code
###############################################################################
# ignore files
# *.ipynb linguist-vendored=true
*.html linguist-vendored=true
*.3 linguist-documentation
*.1 linguist-documentation
###############################################################################
# export-ignore: don't download this files from github
###############################################################################
/.github export-ignore