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
# nanodock - Git attributes
#
# Normalise all text files to LF in the repository.
# On checkout: LF everywhere except Windows-native script types (.bat, .cmd,
# .ps1) which need CRLF so they run correctly on Windows without modification.
#
# Binary assets are marked explicitly so Git never tries to diff or merge them.
# ── Default: auto-detect text vs binary ──────────────────────────────────────
*
# ── Source code ──────────────────────────────────────────────────────────────
*.rs*.toml*.lock
# ── Documentation & config ───────────────────────────────────────────────────
*.md*.yml*.yaml*.txt.editorconfig.gitignore.gitattributesLICENSE
# ── Windows-native scripts (must be CRLF on checkout) ────────────────────────
*.bat*.cmd*.ps1
# ── Unix shell scripts & git hooks (LF only) ─────────────────────────────────
*.shhooks/commit-msghooks/pre-commithooks/pre-push
# ── Binary assets ────────────────────────────────────────────────────────────
*.ico*.png*.jpg*.jpeg*.gif*.exe*.dll*.pdb