-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitattributes
More file actions
119 lines (104 loc) · 2.94 KB
/
.gitattributes
File metadata and controls
119 lines (104 loc) · 2.94 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# ======================================================================================
# .gitattributes
# Enforce LF line endings for all text/code files and mark binaries to avoid corruption.
# ======================================================================================
# ----------------------------
# Global default (recommended)
# ----------------------------
* text=auto eol=lf
# ----------------------------
# PowerShell / VBScript / HTA
# ----------------------------
*.ps1 text eol=lf
*.psm1 text eol=lf
*.psd1 text eol=lf
*.ps1xml text eol=lf
*.psc1 text eol=lf
*.pssc text eol=lf
*.vbs text eol=lf
*.vbe text eol=lf
*.wsf text eol=lf
*.wsc text eol=lf
*.hta text eol=lf
# ----------------------------
# YAML / JSON / TOML
# ----------------------------
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.toml text eol=lf
# ----------------------------
# Markdown / text / logs
# ----------------------------
*.md text eol=lf
*.txt text eol=lf
*.log text eol=lf
*.csv text eol=lf
# ----------------------------
# XML-based configs / NuGet / .NET metadata
# ----------------------------
*.xml text eol=lf
*.config text eol=lf
*.csproj text eol=lf
*.props text eol=lf
*.targets text eol=lf
*.nuspec text eol=lf
*.sln text eol=lf
# ----------------------------
# Web / scripting files
# ----------------------------
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.cmd text eol=lf
*.bat text eol=lf
# ----------------------------
# Shell / Unix configs
# ----------------------------
*.sh text eol=lf
*.bash text eol=lf
*.zsh text eol=lf
*.conf text eol=lf
*.ini text eol=lf
# ----------------------------
# Python
# ----------------------------
*.py text eol=lf
# ======================================================================================
# Binary files (no EOL normalization, no text diffs)
# ======================================================================================
# Executables and archives
*.exe binary
*.dll binary
*.msi binary
*.zip binary
*.tar binary
*.gz binary
*.7z binary
*.iso binary
*.nupkg binary
*.snupkg binary
# Documents and assets
*.pdf binary
# SVG: choose one policy:
# - Keep as binary to avoid normalization and disable diffs (safe default):
*.svg binary
# - Or, if you want diffs and you edit SVG by hand, replace the line above with:
# *.svg text eol=lf
# Image formats
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
# Backup files
*.bak binary
# Fonts or binary blobs
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.otf binary