-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
34 lines (30 loc) · 1.31 KB
/
.gitattributes
File metadata and controls
34 lines (30 loc) · 1.31 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
# ———————————————————————————————————————————————————————————————————
# 1. Default: Normalize all text files to LF
# ———————————————————————————————————————————————————————————————————
* text eol=lf
# ———————————————————————————————————————————————————————————————————
# 2. Binary files: Disable text processing (-text) and diff
# ———————————————————————————————————————————————————————————————————
# === IMAGES ===
*.png -text diff
*.jpg -text diff
*.jpeg -text diff
*.gif -text diff
*.ico -text diff
*.bmp -text diff
*.webp -text diff
# Archives
*.zip -text
*.tar -text
*.gz -text
*.7z -text
# Executables/Libraries
*.exe -text
*.dll -text
*.so -text
*.bin -text
# Documents (binary)
*.pdf -text
*.docx -text diff=zip
*.xlsx -text diff=zip
*.pptx -text diff=zip