forked from lossless-group/perplexed-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
45 lines (39 loc) · 880 Bytes
/
.gitattributes
File metadata and controls
45 lines (39 loc) · 880 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
36
37
38
39
40
41
42
43
44
45
# Default behavior: normalize line endings to LF on checkin
* text=auto
# Explicitly declare text files to normalize
*.md text diff=markdown
*.txt text
*.js text
*.ts text
*.jsx text
*.tsx text
*.json text
*.yml text
*.yaml text
*.css text
*.scss text
*.html text
# Declare files that will always have CRLF line endings
*.bat text eol=crlf
# Denote all files that are truly binary and should not be modified
*.png binary
*.jpg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.ttf binary
*.woff binary
*.woff2 binary
# Better diff handling for specific file types
*.md diff=markdown
*.png diff=exif
package-lock.json -diff
yarn.lock -diff
pnpm-lock.yaml -diff
# Handle large files
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
# SVG files should use LF line endings
*.svg text eol=lf