Skip to content

Commit a3e176a

Browse files
committed
Expanded gitattributes
1 parent f24abb3 commit a3e176a

File tree

1 file changed

+220
-17
lines changed

1 file changed

+220
-17
lines changed

.gitattributes

Lines changed: 220 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,113 @@
1-
# 15 Jan 2026
1+
# 16 Jan 2026
22
# Others, leave as-is (dont treat them as text)
33
* -text
44

5-
# General
6-
*.yml text eol=lf
5+
# General text files
6+
*.txt text eol=lf
77
*.md text eol=lf
8+
*.yml text eol=lf
9+
*.yaml text eol=lf
810
*.json text eol=lf
11+
*.json5 text eol=lf
12+
*.jsonc text eol=lf
13+
*.xml text eol=lf
14+
*.xsd text eol=lf
15+
*.xslt text eol=lf
16+
*.toml text eol=lf
17+
*.ini text eol=lf
18+
*.cfg text eol=lf
19+
LICENSE text eol=lf
20+
README text eol=lf
21+
AUTHORS text eol=lf
22+
CHANGELOG text eol=lf
23+
24+
# Shell scripts
25+
*.sh text eol=lf
26+
*.bash text eol=lf
27+
*.zsh text eol=lf
28+
*.fish text eol=lf
29+
Makefile text eol=lf
30+
31+
# Docker
32+
Dockerfile text eol=lf
33+
*.dockerfile text eol=lf
34+
.dockerignore text eol=lf
35+
36+
# Git files
37+
.gitignore text eol=lf
38+
.gitattributes text eol=lf
39+
.gitmodules text eol=lf
40+
.gitkeep text eol=lf
41+
42+
# Editor config
43+
.editorconfig text eol=lf
44+
45+
# Environment files
46+
.env text eol=lf
47+
.env.* text eol=lf
48+
*.env text eol=lf
49+
50+
# CI/CD configs
51+
.travis.yml text eol=lf
52+
.gitlab-ci.yml text eol=lf
53+
.circleci/config.yml text eol=lf
54+
azure-pipelines.yml text eol=lf
55+
*.jenkinsfile text eol=lf
56+
Jenkinsfile text eol=lf
57+
.github/workflows/*.yml text eol=lf
58+
.github/workflows/*.yaml text eol=lf
59+
appveyor.yml text eol=lf
60+
bitbucket-pipelines.yml text eol=lf
961

1062
# Rust
1163
*.rs text eol=lf
12-
*.toml text eol=lf
13-
*.lock text eol=lf
64+
Cargo.lock text eol=lf
1465

1566
# Go
1667
*.go text eol=lf
17-
*.mod text eol=lf
68+
go.mod text eol=lf
69+
go.sum text eol=lf
1870

1971
# Python
2072
*.py text eol=lf
73+
*.pyi text eol=lf
74+
*.pyx text eol=lf
75+
*.pxd text eol=lf
2176
*.ipynb text eol=lf
22-
requirements.txt text eol=lf
77+
Pipfile text eol=lf
78+
Pipfile.lock text eol=lf
79+
poetry.lock text eol=lf
80+
MANIFEST.in text eol=lf
81+
*.whl binary
82+
83+
# C/C++
84+
*.c text eol=lf
85+
*.h text eol=lf
86+
*.cpp text eol=lf
87+
*.hpp text eol=lf
88+
*.cc text eol=lf
89+
*.hh text eol=lf
90+
*.cxx text eol=lf
91+
*.hxx text eol=lf
92+
*.c++ text eol=lf
93+
*.h++ text eol=lf
94+
CMakeLists.txt text eol=lf
95+
*.cmake text eol=lf
96+
*.o binary
97+
*.obj binary
98+
99+
# Zig
100+
*.zig text eol=lf
101+
build.zig text eol=lf
102+
build.zig.zon text eol=lf
103+
104+
# Haskell
105+
*.hs text eol=lf
106+
*.lhs text eol=lf
107+
*.cabal text eol=lf
108+
stack.yaml text eol=lf
109+
stack.yaml.lock text eol=lf
110+
*.hi binary
23111

24112
# Swift/Xcode
25113
*.swift text eol=lf
@@ -31,40 +119,155 @@ requirements.txt text eol=lf
31119
*.xib text eol=lf
32120
*.entitlements text eol=lf
33121

34-
# Web
35-
*.html text eol=lf
36-
*.htm text eol=lf
37-
*.css text eol=lf
122+
# Web - JavaScript/TypeScript
38123
*.js text eol=lf
39124
*.jsx text eol=lf
40125
*.mjs text eol=lf
126+
*.cjs text eol=lf
41127
*.ts text eol=lf
42128
*.tsx text eol=lf
43-
*.svelte text eol=lf
129+
yarn.lock text eol=lf
130+
.npmrc text eol=lf
131+
.yarnrc text eol=lf
132+
.nvmrc text eol=lf
133+
.babelrc text eol=lf
134+
.eslintrc* text eol=lf
135+
.prettierrc* text eol=lf
136+
137+
# Web - HTML/CSS
138+
*.html text eol=lf
139+
*.htm text eol=lf
140+
*.css text eol=lf
141+
*.scss text eol=lf
142+
*.sass text eol=lf
143+
*.less text eol=lf
144+
*.styl text eol=lf
145+
*.postcss text eol=lf
146+
147+
# Web - Frameworks
44148
*.vue text eol=lf
149+
*.svelte text eol=lf
150+
*.graphql text eol=lf
151+
*.gql text eol=lf
45152

46-
# .NET settings now standardized
153+
# .NET
47154
*.cs text eol=lf
155+
*.csx text eol=lf
48156
*.csproj text eol=lf
157+
# *.vbproj text eol=lf
158+
*.dbproj text eol=lf
159+
*.fsproj text eol=lf
49160
*.sln text eol=lf
161+
*.slnf text eol=lf
50162
*.fs text eol=lf
51163
*.fsi text eol=lf
52164
*.fsx text eol=lf
53165
*.fsscript text eol=lf
166+
# *.vb text eol=lf
167+
*.props text eol=lf
168+
*.targets text eol=lf
169+
*.config text eol=lf
170+
*.nuspec text eol=lf
171+
*.ruleset text eol=lf
172+
*.manifest text eol=lf
173+
*.appxmanifest text eol=lf
174+
*.resx text eol=lf
175+
176+
# .NET - ASP.NET & Web
177+
*.xaml text eol=lf
178+
*.cshtml text eol=lf
179+
*.razor text eol=lf
180+
*.vbhtml text eol=lf
181+
*.asax text eol=lf
182+
*.ascx text eol=lf
183+
*.aspx text eol=lf
184+
*.master text eol=lf
185+
*.asmx text eol=lf
186+
*.ashx text eol=lf
54187

55-
# Windows line endings
56-
*.resx text eol=crlf
188+
# .NET - Entity Framework & T4
189+
*.edmx text eol=lf
190+
*.tt text eol=lf
191+
*.ttinclude text eol=lf
192+
193+
# Windows-specific scripts (require CRLF)
57194
*.cmd text eol=crlf
195+
*.bat text eol=crlf
58196
*.ps1 text eol=crlf
197+
*.psm1 text eol=crlf
198+
*.psd1 text eol=crlf
59199

60-
# Binary
200+
# Images
61201
*.png binary
62202
*.jpg binary
63203
*.jpeg binary
204+
*.gif binary
205+
*.ico binary
206+
*.svg binary
207+
*.bmp binary
208+
*.tif binary
209+
*.tiff binary
210+
*.webp binary
211+
*.avif binary
212+
213+
# Fonts
214+
*.woff binary
215+
*.woff2 binary
216+
*.ttf binary
217+
*.otf binary
218+
*.eot binary
219+
220+
# Documents
221+
*.pdf binary
222+
*.doc binary
64223
*.docx binary
224+
*.xls binary
65225
*.xlsx binary
226+
*.ppt binary
227+
*.pptx binary
228+
*.odt binary
229+
*.ods binary
230+
*.odp binary
231+
232+
# Media
233+
*.mp3 binary
234+
*.mp4 binary
235+
*.wav binary
236+
*.flac binary
237+
*.ogg binary
238+
*.mov binary
239+
*.avi binary
240+
*.mkv binary
241+
*.webm binary
242+
243+
# Archives
66244
*.zip binary
67-
*.cr2 binary
245+
*.tar binary
246+
*.gz binary
247+
*.bz2 binary
248+
*.7z binary
249+
*.rar binary
250+
251+
# Compiled binaries & libraries
252+
*.dll binary
253+
*.exe binary
254+
*.so binary
255+
*.dylib binary
256+
*.a binary
257+
*.lib binary
258+
*.pdb binary
259+
*.nupkg binary
260+
*.snupkg binary
261+
*.pyc binary
262+
*.pyo binary
263+
*.rlib binary
264+
*.wasm binary
265+
266+
# Database
267+
*.db binary
268+
*.sqlite binary
269+
*.sqlite3 binary
270+
*.mdb binary
68271

69272
# to normalise line endings:
70273
# git add . --renormalize

0 commit comments

Comments
 (0)