-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
75 lines (64 loc) · 1.43 KB
/
Copy path.gitattributes
File metadata and controls
75 lines (64 loc) · 1.43 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Auto detect text files and perform LF normalization
* text=auto
# Source code
*.py text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.json text eol=lf
*.html text eol=lf
*.css text eol=lf
*.sh text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
# Configuration files
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.ini text eol=lf
.env* text eol=lf
.gitignore text eol=lf
.gitattributes text eol=lf
# Windows-specific files
*.bat text eol=crlf
*.ps1 text eol=crlf
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.pdf binary
# Archives
*.zip binary
*.tar binary
*.gz binary
*.rar binary
# Python bytecode (should be in gitignore, but mark as binary just in case)
*.pyc binary
*.pyo binary
*.pyd binary
# Jupyter notebooks (treat as text for diff)
*.ipynb text
# Lock files (preserve exact formatting)
uv.lock text eol=lf
poetry.lock text eol=lf
package-lock.json text eol=lf
yarn.lock text eol=lf
# Git diff settings for specific file types
*.py diff=python
*.md diff=markdown
# Linguist overrides (for GitHub language statistics)
# Exclude generated files and dependencies from language stats
*.lock linguist-generated=true
coverage/* linguist-generated=true
htmlcov/* linguist-generated=true
.venv/* linguist-vendored=true
node_modules/* linguist-vendored=true
__pycache__/* linguist-generated=true
*.pyc linguist-generated=true