-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitattributes
More file actions
35 lines (31 loc) · 837 Bytes
/
.gitattributes
File metadata and controls
35 lines (31 loc) · 837 Bytes
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
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
public/resources/* linguist-vendored
# Set the default behavior, in case people don't have core.autocrlf set.
# Git will always convert line endings to LF on checkout. You should use
# this for files that must keep LF endings, even on Windows.
* text eol=lf
# Don't show diffs for these files
composer.lock -diff
package-lock.json -diff
public/resources/*.js -diff
public/resources/*.css -diff
*.map -diff
# Define binary file attributes.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."
*.pdf binary
*.mo binary
*.gif binary
*.ico binary
*.jpg binary
*.png binary
*.phar binary
*.zip binary
*.gz binary
*.otf binary
*.eot binary
*.svg binary
*.ttf binary
*.woff binary
*.woff2 binary