-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
140 lines (121 loc) · 3.5 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
138
139
140
# Git Attributes
# Set default behavior to automatically normalize line endings
* text=auto encoding=UTF-8
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash and zshell scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work
*.sh text eol=lf
*.zsh text eol=lf
# .gitattributes for Microsoft Shell
*.msh text eol=crlf
*.msh1 text eol=crlf
*.msh2 text eol=crlf
*.mshxml text eol=crlf
*.msh1xml text eol=crlf
*.msh2xml text eol=crlf
*.mcf text eol=crlf
# .gitattributes for PowerShell
*.ps1 text eol=crlf
*.ps1x text eol=crlf
*.psm1 text eol=crlf
*.psd1 text eol=crlf
*.ps1xml text eol=crlf
*.pssc text eol=crlf
*.psrc text eol=crlf
*.cdxml text eol=crlf
# .gitattributes for Python
*.pxd text diff=python
*.py text diff=python
*.py3 text diff=python
*.pyw text diff=python
*.pyx text diff=python
*.pyz text diff=python
*.pyi text diff=python
*.{yaml,[yY][aA][mM][lL]} text eol=lf
*.{yml,[yY][mM][lL]} text eol=lf
# Serialization
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary
# Dependency files
package.json text eol=lf
package-lock.json text eol=lf
package-list.txt text eol=lf
requirements.txt text eol=lf
requirements-dev.txt text eol=lf
requirements-test.txt text eol=lf
requirements-lock.txt text eol=lf
# .gitattributes for binary files
*.db binary
*.p binary
*.pkl binary
*.pickle binary
*.pyc binary export-ignore
*.pyo binary export-ignore
*.pyd binary
# Graphics
*.{jpg,[jJ][pP][gG]} binary
*.{ico,[iI][cC][oO]} binary
*.{png,[pP][nN][gG]} binary
*.{gif,[gG][iI][fF]} binary
# .gitattributes for R
*.Rdata binary
*.RData binary
*.rda binary
*.rdb binary
*.rds binary
*.Rd text
*.Rdx binary
*.Rmd text
*.R text
*.Rproj text
*.[Rr]md linguist-detectable=true
# .gitattributes for SQL
*.sql linguist-detectable=true
*.sql linguist-language=sql
# .gitattributes for document formats
*.bibtex text diff=bibtex
*.{csv,[cC][sS][vV]} text
*.{doc,[dD][oO][cC]} diff=astextplain
*.{docx,[dD][oO][cC][xX]} diff=astextplain
*.{dot,[dD][oO][tT]} diff=astextplain
*.{md,[mM][dD]} text diff=markdown
*.{mdx,[mM][dD][xX]} text diff=markdown
*.{pdf,[pP][dD][fF]} binary
*.{rtf,[rR][tT][fF]} diff=astextplain
*.{tex,[tT][eE][xX]} text diff=tex
# exclude from git archive.
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
.editorconfig export-ignore
# .gitattributes for ACL
*.aclscript text eol=crlf
# .gitattributes for VSCode
*.sln text eol=crlf
*.csproj text eol=crlf
*.vbproj text eol=crlf
*.vcxproj text eol=crlf
*.vcproj text eol=crlf
*.dbproj text eol=crlf
*.fsproj text eol=crlf
*.lsproj text eol=crlf
*.wixproj text eol=crlf
*.modelproj text eol=crlf
*.sqlproj text eol=crlf
*.wwaproj text eol=crlf
*.xproj text eol=crlf
*.props text eol=crlf
*.filters text eol=crlf
*.vcxitems text eol=crlf