Skip to content

Commit 1d58fb7

Browse files
committed
Update gitattributes
Add more file types
1 parent 7641ec3 commit 1d58fb7

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

.gitattributes

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,94 @@
77
# CMakeLists for CMake
88
CMakeLists.txt text
99

10+
#sources
11+
*.C text
12+
*.cc text
13+
*.cxx text
14+
*.cpp text
15+
*.c++ text
16+
*.hpp text
17+
*.h text
18+
*.h++ text
19+
*.hh text
20+
21+
# Compiled Object files
22+
*.slo binary
23+
*.lo binary
24+
*.o binary
25+
*.obj binary
26+
27+
# Precompiled Headers
28+
*.gch binary
29+
*.pch binary
30+
31+
# Compiled Dynamic libraries
32+
*.so binary
33+
*.dylib binary
34+
*.dll binary
35+
36+
# Compiled Static libraries
37+
*.lai binary
38+
*.la binary
39+
*.a binary
40+
*.lib binary
41+
42+
# Executables
43+
*.exe binary
44+
*.out binary
45+
*.app binary
46+
47+
# Documents
48+
*.doc diff=astextplain
49+
*.DOC diff=astextplain
50+
*.docx diff=astextplain
51+
*.DOCX diff=astextplain
52+
*.dot diff=astextplain
53+
*.DOT diff=astextplain
54+
*.pdf diff=astextplain
55+
*.PDF diff=astextplain
56+
*.rtf diff=astextplain
57+
*.RTF diff=astextplain
58+
*.md text
59+
*.adoc text
60+
*.textile text
61+
*.mustache text
62+
*.csv text
63+
*.tab text
64+
*.tsv text
65+
*.sql text
66+
67+
# Graphics
68+
*.png binary
69+
*.jpg binary
70+
*.jpeg binary
71+
*.gif binary
72+
*.ico binary
73+
*.svg text
74+
# Basic .gitattributes for a python repo.
75+
76+
# Source files
77+
# ============
78+
*.pxd text
79+
*.py text
80+
*.py3 text
81+
*.pyw text
82+
*.pyx text
83+
84+
# Binary files
85+
# ============
86+
*.db binary
87+
*.p binary
88+
*.pkl binary
89+
*.pyc binary
90+
*.pyd binary
91+
*.pyo binary
92+
93+
# Custom for Visual Studio
94+
*.sln text eol=crlf merge=union
95+
*.csproj merge=union
96+
*.vbproj merge=union
97+
*.fsproj merge=union
98+
*.dbproj merge=union
99+
10100

0 commit comments

Comments
 (0)