-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgitattributes
executable file
·140 lines (130 loc) · 5.04 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
#
# .gitattributes
#
# Text files with default encoding and line endings
* text encoding=utf-8 eol=lf
# Windows batch and command files with CRLF line endings
*.{bat,[bB][aA][tT]} text encoding=utf-8 eol=crlf
*.{cmd,[cC][mM][dD]} text encoding=utf-8 eol=crlf
*.ini text encoding=utf-8 eol=crlf
# Project files and configs with UTF-8 encoding and LF line endings
*.*proj text encoding=utf-8 eol=lf
*.asax text encoding=utf-8 eol=lf
*.c text encoding=utf-8 eol=lf diff=cpp
*.clj text encoding=utf-8 eol=lf diff=clojure
*.conf text encoding=utf-8 eol=lf
*.config text encoding=utf-8 eol=lf
*.cpp text encoding=utf-8 eol=lf diff=cpp
*.cs text encoding=utf-8 eol=lf diff=csharp
*.cshtml text encoding=utf-8 eol=lf diff=html
*.css text encoding=utf-8 eol=lf
*.csv text encoding=utf-8 eol=lf linguist-language=CSV
*.elm text encoding=utf-8 eol=lf diff=elm
*.erl text encoding=utf-8 eol=lf diff=erlang
*.es text encoding=utf-8 eol=lf linguist-language=JS
*.ex text encoding=utf-8 eol=lf diff=elixir
*.exs text encoding=utf-8 eol=lf diff=elixir
*.go text encoding=utf-8 eol=lf diff=go
*.h text encoding=utf-8 eol=lf diff=cpp
*.hpp text encoding=utf-8 eol=lf diff=cpp
*.hs text encoding=utf-8 eol=lf diff=haskell
*.html text encoding=utf-8 eol=lf diff=html
*.java text encoding=utf-8 eol=lf diff=java
*.js text encoding=utf-8 eol=lf diff=javascript
*.json text encoding=utf-8 eol=lf diff=json linguist-language=JSON
*.jsx text encoding=utf-8 eol=lf diff=javascript
*.less text encoding=utf-8 eol=lf
*.m text encoding=utf-8 eol=lf diff=objc
*.md text encoding=utf-8 eol=lf
*.ml text encoding=utf-8 eol=lf diff=ocaml
*.nim text encoding=utf-8 eol=lf diff=nim
*.php text encoding=utf-8 eol=lf diff=php
*.pl text encoding=utf-8 eol=lf diff=perl
*.pm text encoding=utf-8 eol=lf diff=perl
*.proto text encoding=utf-8 eol=lf diff=proto
*.ps1 text encoding=utf-8 eol=lf
*.ptml text encoding=utf-8 eol=lf diff=php
*.py text encoding=utf-8 eol=lf diff=python
*.rb text encoding=utf-8 eol=lf diff=ruby linguist-language=Ruby
*.rs text encoding=utf-8 eol=lf diff=rust
*.rst text encoding=utf-8 eol=lf diff=rst
*.sass text encoding=utf-8 eol=lf diff=css
*.scss text encoding=utf-8 eol=lf diff=css
*.sh text encoding=utf-8 eol=lf
*.sln text encoding=utf-8 eol=lf
*.sql text encoding=utf-8 eol=lf diff=sql
*.t text encoding=utf-8 eol=lf diff=perl
*.targets text encoding=utf-8 eol=lf
*.tsx text encoding=utf-8 eol=lf diff=javascript
*.tt text encoding=utf-8 eol=lf
*.txt text encoding=utf-8 eol=lf
*.vue text encoding=utf-8 eol=lf diff=javascript
*.xaml text encoding=utf-8 eol=lf
*.xhtml text encoding=utf-8 eol=lf diff=html
*.xml text encoding=utf-8 eol=lf diff=html
*.yaml text encoding=utf-8 eol=lf
*.yml text encoding=utf-8 eol=lf
# Dockerfile and license files
Dockerfile text encoding=utf-8 eol=lf
LICENSE.txt text encoding=utf-8 eol=lf
LICENSE text encoding=utf-8 eol=lf
.githooks/* text encoding=utf-8 eol=lf
# RTF files with UTF-16 encoding
*.rtf text encoding=utf-16
# Binary files
*.7z binary
*.a binary
*.dll binary
*.dylib binary
*.exe binary
*.gif binary
*.gz binary
*.jar binary
*.jpeg binary
*.o binary
*.pdf binary
*.psb binary
*.so binary
*.zip binary
*.xlsx binary
*.docx binary
# Git Large File Storage (LFS) for large assets
*.jpg binary filter=lfs diff=lfs merge=lfs -text
*.mov binary filter=lfs diff=lfs merge=lfs -text
*.mp3 binary filter=lfs diff=lfs merge=lfs -text
*.mp4 binary filter=lfs diff=lfs merge=lfs -text
*.png binary filter=lfs diff=lfs merge=lfs -text
*.psd binary filter=lfs diff=lfs merge=lfs -text
*.wav binary filter=lfs diff=lfs merge=lfs -text
# Custom merge strategy for specific file types
*.lock merge=ours linguist-vendored
*.json merge=ours
*.mod merge=ours
*.sum merge=ours
*.svg merge=ours
package-lock.json merge=ours linguist-vendored
yarn.lock merge=ours linguist-vendored
# Linguist settings for GitHub
vendor/** linguist-vendored
# Exclude files from archive export
**/.mypy_cache export-ignore
**/__pycache__ export-ignore
*.bak export-ignore
*.cache export-ignore
*.log export-ignore
*.orig export-ignore
*.rej export-ignore
*.swp export-ignore
*.tmp export-ignore
*.tmp.* export-ignore
*~ export-ignore
.DS_Store export-ignore
.coverage/ export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.idea/ export-ignore
.package-metadata.json export-ignore
.~lock.* export-ignore
Thumbs.db export-ignore
dist/ export-ignore
node_modules/ export-ignore