-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
57 lines (51 loc) · 2.22 KB
/
.gitattributes
File metadata and controls
57 lines (51 loc) · 2.22 KB
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
###############################################################################
# attribute # Checkin behavior # Checkout behavior
###############################################################################
# text # Normalized to LF # Convert to native line endings
# [text] eol=crlf # Normalized to LF # Convert to CRLF
# [text] eol=lf # Normalized to LF # Convert to LF
# -text or binary # No conversion # No conversion
# text=auto # Like "text" if text file according to git, otherwise, like "binary"
# unspecified # Fall back to core.autocrlf setting of local environment
###############################################################################
# core.autocrlf
# false: same as binary
# true: same as eol=crlf
# input: same as eol=lf
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Declare files that will always have LF line endings on checkout.
*.awk text eol=lf
*.sed text eol=lf
*.sh text eol=lf
*.tpl text eol=lf
*.env text eol=lf
*.conf text eol=lf
*.md text
*.svg text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ttf binary
# Stop autolf
#*.MF text eol=crlf
#*.backup text eol=crlf
#*.bak text eol=crlf
#*.css text eol=crlf
#*.fml text eol=crlf
#*.html text eol=crlf
#*.java text eol=crlf
#*.js text eol=crlf
#*.json text eol=crlf
#*.jsp text eol=crlf
#*.md text eol=crlf
#*.mib text eol=crlf
#*.properties text eol=crlf
#*.scss text eol=crlf
#*.sql text eol=crlf
#*.svg text eol=crlf
#*.txt text eol=crlf
#*.xml text eol=crlf