-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
52 lines (40 loc) · 1.52 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
###############################
# Git Line Endings #
###############################
# Set default behavior to automatically normalize line endings.
* text=auto
LICENSE.txt eol=crlf
ThirdPartyNotices.txt eol=crlf
# Languages
**/*.json text eol=lf linguist-language=jsonc
**/*.xml text eol=lf linguist-language=XML
**/*.ts text eol=lf linguist-language=TypeScript
**/*.js text eol=lf linguist-language=JavaScript
**/*.yml text eol=lf linguist-language=YAML
**/*.md text eol=lf linguist-language=Markdown
**/*.css text eol=lf linguist-language=CSS diff=css
**/*.scss text eol=lf linguist-language=SCSS diff=css
**/*.less text eol=lf linguist-language=Less
**/*.{htm,html,xhtml,hta} text eol=lf linguist-language=HTML diff=html
# 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
*.sh text eol=lf diff bash
*.ps1 eol=lf
###############################
# Git Large File System (LFS) #
###############################
## Documents
*.{pdf,rtf,doc,docx,xsl,xslx} filter=lfs diff=lfs merge=lfs -text
## Fonts
*.{woff2,otf,ttf,[wW][oO][fF][fF]2,[oO][tT][fF],[tT][tT][fF]} filter=lfs diff=lfs merge=lfs
###############################
# Binary Files #
###############################
## Archives
*.{7z,br,gz,tar,zip} binary
## Denote all files that are truly binary and should not be modified.
*.{exe,pyc} binary
## Images
*.{gif,ico,jpg,png,psd,webp} binary