-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
55 lines (55 loc) · 1.08 KB
/
.gitattributes
File metadata and controls
55 lines (55 loc) · 1.08 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
# Default behavior: normalize line endings to LF on checkin
* text=auto
# Explicitly declare text files to normalize
*.md text diff=markdown
*.mdx text diff=markdown
*.css text diff=css
*.html text diff=html
*.txt text
*.js text
*.cjs text
*.ts text
*.jsx text
*.tsx text
*.json text
*.yml text
*.yaml text
*.scss text
*.py text
*.svg text
*.ex text
*.exs text
*.nix text
*Dockerfile text
*.dockerfile text
*.cursorignore text
*.windsurfrules text
*.gitattributes text
*.gitignore text
*.gitmodules 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
*.jpg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.ttf binary
*.woff binary
*.woff2 binary
*.doc binary
*.docx binary
*.xls binary
*.xlsx binary
*.ppt binary
*.pptx binary
# Better diff handling for specific file types
*.md diff=markdown
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