-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
56 lines (50 loc) · 1.54 KB
/
Copy path.gitattributes
File metadata and controls
56 lines (50 loc) · 1.54 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
# ============================================================================
# Line-ending policy — single source of truth, overrides per-machine
# core.autocrlf. Text is stored as LF in the repository on every platform,
# so Windows / Linux / Android clones produce byte-identical blobs and never
# generate EOL-only merge conflicts. Working-tree EOL is pinned per type.
# ============================================================================
# Default: auto-detect text vs binary; store text as LF; check out as LF.
* text=auto eol=lf
# --- F# / .NET source & project files (LF) ---
*.fs text eol=lf
*.fsi text eol=lf
*.fsx text eol=lf
*.fsproj text eol=lf
*.cs text eol=lf
*.csproj text eol=lf
*.sln text eol=lf
*.slnx text eol=lf
*.props text eol=lf
*.targets text eol=lf
*.config text eol=lf
# --- Data / markup / docs (LF) ---
*.json text eol=lf
*.jsonl text eol=lf
*.xml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.txt text eol=lf
# --- Scripts ---
*.sh text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# --- Binary (never normalized) ---
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.docx binary
*.xlsx binary
*.dll binary
*.exe binary
*.pdb binary
*.snk binary
# Mathematica notebooks: NEVER touch. Treat as pure binary so git does no
# line-ending conversion, no diff, no merge. `!eol` clears the inert eol=lf
# inherited from the `*` catch-all, leaving zero EOL policy on these files.
*.nb binary !eol