-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitattributes
55 lines (48 loc) · 988 Bytes
/
.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
* text=auto eol=lf
# Serialisation
*.json text eol=lf
*.toml text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
# Scripts
*.bash text eol=lf diff=bash
*.fish text eol=lf
*.sh text eol=lf diff=bash
*.zsh text eol=lf
*.ps1 text eol=lf
*.py text eol=lf diff=python
*.rb text eol=lf diff=ruby
Dockerfile text eol=lf
# Windows-specific line-ending
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Languages
*.htm text eol=lf diff=html
*.html text eol=lf diff=html
*.css text eol=lf diff=css
*.go text eol=lf diff=golang
*.php text eol=lf diff=php
*.tf text eol=lf
*.hcl text eol=lf
# Documents
*.csv text eol=lf
*.txt text eol=lf
*.sql text eol=lf
*.md text eol=lf diff=markdown
*.pdf binary
# Archives
*.7z binary
*.br binary
*.gz binary
*.tar binary
*.zip binary
# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
# SVG treated as text by default.
*.svg text eol=lf
# Text files where line endings should be preserved
*.patch -text