-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.gitattributes
95 lines (81 loc) · 4.64 KB
/
.gitattributes
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
# ─────────────────────────────────────────────────────────────────
# Normalize line endings
# - text=auto will convert CRLF to LF in the repo, and back to CRLF on checkout for Windows users
# - eol=lf forces LF on all platforms.
# ─────────────────────────────────────────────────────────────────
* text=auto
*.md text eol=lf
*.sh text eol=lf
*.ps1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# ─────────────────────────────────────────────────────────────────
# Mark certain filetypes explicitly as binary
# ─────────────────────────────────────────────────────────────────
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
# Compiled Object files
*.slo binary
*.lo binary
*.o binary
*.obj binary
# Precompiled Headers
*.gch binary
*.pch binary
# Compiled Dynamic libraries
*.so binary
*.dylib binary
*.dll binary
# Compiled Static libraries
*.lai binary
*.la binary
*.a binary
*.lib binary
# Executables
*.exe binary
*.out binary
*.app binary
# ─────────────────────────────────────────────────────────────────
# Custom diff/merge drivers
# ─────────────────────────────────────────────────────────────────
*.c text diff=cpp
*.cc text diff=cpp
*.cxx text diff=cpp
*.cpp text diff=cpp
*.cpi text diff=cpp
*.c++ text diff=cpp
*.hpp text diff=cpp
*.h text diff=cpp
*.h++ text diff=cpp
*.hh text diff=cpp
# ─────────────────────────────────────────────────────────────────
# Export‐ignore
# - This excludes from `git archive` (useful when building tarballs)
# ─────────────────────────────────────────────────────────────────
.gitignore export-ignore
docs/** export-ignore
tests/** export-ignore
.github/** export-ignore
.vscode/** export-ignore
# ─────────────────────────────────────────────────────────────────
# GitHub Linguist overrides
# - This forces files to count (or not) towards language stats.
# ─────────────────────────────────────────────────────────────────
*.md linguist-documentation
*.yml linguist-language=YAML
*.ui linguist-generated
# ─────────────────────────────────────────────────────────────────
# Qt specific
# Treat .ui & .qrc files as text (so merges and diffs make sense)
# ─────────────────────────────────────────────────────────────────
*.ui text
*.qrc text
# ─────────────────────────────────────────────────────────────────
# CMake specific
# ─────────────────────────────────────────────────────────────────
CMakeLists.txt text=auto