-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
42 lines (38 loc) · 1.25 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
# https://git-scm.com/docs/gitattributes
#
# A gitattributes file is a simple text file that gives attributes to path names.
# Each line in gitattributes file is of form: pattern attr1 attr2 ...
# That is, a pattern followed by an attributes list, separated by white spaces.
# When the pattern matches the path in question, the attributes listed on the line are given to the path.
# Each attribute can be in one of these states for a given path:
# FIX CRLF always when developer has not set
# Linux/Mac: git config --global core.autocrlf input
# Windows: git config --global core.autocrlf true
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf
# Images as binary
*.gif binary
*.png binary
*.ico binary
*.icns binary
*.xcf binary
# Other files as text for diff
*.md text
*.js text
*.ts text
*.css text
*.scss text
*.vue text
*.yml text
.editorconfig text
.gitattributes text
.gitignore text
# Font files as not text for diff
*.otf -text diff
*.ttf -text diff
*.eot -text diff
*.woff -text diff
*.woff2 -text diff
# Don't try and merge these files
yarn.lock -diff