-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
78 lines (71 loc) · 2.18 KB
/
Copy path.gitattributes
File metadata and controls
78 lines (71 loc) · 2.18 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
# ─────────────────────────────────────────
# PolyInstall — .gitattributes
# ─────────────────────────────────────────
# ── Default behaviour ────────────────────
# Normalise line endings to LF in the repository,
# and check out platform-native endings on Windows.
* text=auto eol=lf
# ── Source code — explicit LF ────────────
*.c text eol=lf
*.h text eol=lf
*.cpp text eol=lf
*.hpp text eol=lf
*.cc text eol=lf
*.cxx text eol=lf
*.rs text eol=lf
*.py text eol=lf
*.go text eol=lf
*.rb text eol=lf
*.java text eol=lf
*.swift text eol=lf
*.kt text eol=lf
*.zig text eol=lf
*.lua text eol=lf
*.sh text eol=lf
# ── Windows-only scripts — CRLF ──────────
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# ── Build & config files ─────────────────
Makefile text eol=lf
*.cmake text eol=lf
CMakeLists.txt text eol=lf
*.toml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.xml text eol=lf
*.ini text eol=lf
*.cfg text eol=lf
*.conf text eol=lf
# ── Documentation ────────────────────────
*.md text eol=lf
*.txt text eol=lf
*.rst text eol=lf
LICENSE text eol=lf
# ── Binary files — no diff, no merge ─────
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.a binary
*.lib binary
*.o binary
*.obj binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.tar binary
*.gz binary
*.dmg binary
*.pkg binary
*.deb binary
*.rpm binary
# ── Linguist overrides (GitHub language stats) ──
# Prevent generated or vendor files from skewing stats.
docs/** linguist-documentation
shared/** linguist-vendored=false