-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitattributes
More file actions
111 lines (81 loc) · 2.84 KB
/
.gitattributes
File metadata and controls
111 lines (81 loc) · 2.84 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
# -----------------------------------------------------------------------------
# mcpp-community Git attributes
#
# This configuration is part of the mcpp-community style specification.
# Repository:
# https://github.com/mcpp-community/mcpp-style-ref
#
# This file ensures consistent line endings and Git behavior across platforms.
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Default text handling
# -----------------------------------------------------------------------------
# Normalize text files and enforce LF line endings
* text=auto eol=lf
# -----------------------------------------------------------------------------
# Source code
# -----------------------------------------------------------------------------
# C source files
*.c text
# C++ source files
*.cc text
*.cpp text
*.cxx text
# C headers
*.h text
# C++ headers
*.hpp text
*.hxx text
# C++ module interface units
*.cppm text
*.ixx text
*.mpp text
# -----------------------------------------------------------------------------
# Build system
# -----------------------------------------------------------------------------
# CMake scripts
*.cmake text
# CMake entry file
CMakeLists.txt text
# Makefile
Makefile text
# -----------------------------------------------------------------------------
# Documentation
# -----------------------------------------------------------------------------
# Markdown files
*.md text
# Plain text documentation
*.txt text
# -----------------------------------------------------------------------------
# Structured data
# -----------------------------------------------------------------------------
# JSON configuration files
*.json text
# YAML configuration files
*.yml text
# YAML configuration files
*.yaml text
# -----------------------------------------------------------------------------
# Scripts
# -----------------------------------------------------------------------------
# Shell scripts must use LF
*.sh text eol=lf
# -----------------------------------------------------------------------------
# Binary files
# -----------------------------------------------------------------------------
# PNG images
*.png binary
# JPEG images
*.jpg binary
# JPEG images
*.jpeg binary
# GIF images
*.gif binary
# PDF files
*.pdf binary
# ZIP archives
*.zip binary
# TAR archives
*.tar binary
# Gzip archives
*.gz binary