Skip to content
0.2.0-dev Download ZIP
398 lines ·5.6 KB Raw
1# Godot .gitignore config
2#
3# Aims to encompass the most commonly found files that we don't want committed
4# to Git, such as compilation output, IDE specific files, etc.
5#
6# It doesn't cover *all* thirdparty IDE extensions under the sun so if you have
7# specific needs covered here, you can add them to:
8# .git/info/exclude
9#
10# Or contribute them to this file if they're common enough that a good number of
11# users would benefit from the shared rules.
12#
13# This file is organized by sections, with subsections ordered alphabetically.
14# - Build configuration
15# - Godot generated files
16# - General build output
17# - IDE and tool specific
18# - Visual Studio specific
19# - OS specific
20
21###########################
22### Build configuration ###
23###########################
24
25/custom.py
26
27#############################
28### Godot generated files ###
29#############################
30
31# Buildsystem
32bin
33*.gen.*
34compile_commands.json
35platform/windows/godot_res.res
36
37# Ninja build files
38*.ninja
39.ninja/
40run_ninja_env.bat
41
42# Generated by Godot binary
43.import/
44/gdextension_interface.h
45/gdextension_interface.json
46extension_api.json
47logs/
48
49# Generated by unit tests
50tests/data/*.translation
51tests/data/crypto/out*
52
53############################
54### General build output ###
55############################
56
57# C/C++ generated
58*.a
59*.ax
60*.d
61*.dll
62*.lib
63*.lo
64*.o
65*.os
66*.ox
67*.Plo
68*.so
69# Binutils tmp linker output of the form "stXXXXXX" where "X" is alphanumeric
70st[A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9]
71
72# Python development
73.venv
74venv
75
76# Python generated
77__pycache__/
78*.pyc
79
80# Python modules
81.*_cache/
82
83# Documentation
84doc/_build/
85
86# Android
87.gradle/
88local.properties
89*.iml
90.gradletasknamecache
91project.properties
92platform/android/java/build/
93platform/android/java/*/.cxx/
94platform/android/java/*/build/
95platform/android/java/*/libs/
96
97# iOS
98*.dSYM
99
100# Web platform
101*.bc
102platform/web/node_modules/
103
104# Misc
105*.debug
106
107#############################
108### IDE and tool specific ###
109#############################
110
111# Automake
112.deps/*
113.dirstamp
114
115# ccls
116.ccls-cache/
117
118# clangd
119.clangd/
120.cache/
121
122# CLion
123cmake-build-debug
124
125# Code::Blocks
126*.cbp
127*.layout
128*.depend
129
130# CodeLite
131*.project
132*.workspace
133.codelite/
134
135# Cppcheck
136*.cppcheck
137cppcheck-cppcheck-build-dir/
138
139# Eclipse CDT
140.cproject
141.settings/
142*.pydevproject
143*.launch
144
145# Emacs
146\#*\#
147.\#*
148
149# GCOV code coverage
150*.gcda
151*.gcno
152
153# Geany
154*.geany
155.geanyprj
156
157# GNU patch
158*.orig
159*.rej
160
161# Gprof
162gmon.out
163
164# Jetbrains IDEs
165.idea/
166.fleet/
167
168# Kate
169*.kate-swp
170.kateproject.build
171
172# Kdevelop
173*.kdev4
174
175# Qt Creator
176*.config
177*.creator
178*.creator.*
179*.files
180*.includes
181*.cflags
182*.cxxflags
183
184# SCons
185.sconf_temp
186.sconsign*.dblite
187.scons_env.json
188.scons_node_count
189
190# Sourcetrail
191*.srctrl*
192
193# Tags
194# https://github.com/github/gitignore/blob/master/Global/Tags.gitignore
195# Ignore tags created by etags, ctags, gtags (GNU global) and cscope
196TAGS
197!TAGS/
198tags
199*.tags
200!tags/
201gtags.files
202GTAGS
203GRTAGS
204GPATH
205cscope.files
206cscope.out
207cscope.in.out
208cscope.po.out
209
210# Vim
211*.swo
212*.swp
213
214# Visual Studio Code
215.vscode/
216*.code-workspace
217.history/
218
219# Xcode
220xcuserdata/
221*.xcscmblueprint
222*.xccheckout
223*.xcodeproj/*
224!misc/misc/dist/apple_embedded_xcode/godot.xcodeproj/project.pbxproj
225
226# Zed
227.zed/
228
229##############################
230### Visual Studio specific ###
231##############################
232
233# https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
234# Ignore Visual Studio temporary files, build results, and
235# files generated by popular Visual Studio add-ons.
236
237# Actual VS project files we don't use
238*.sln
239*.vcxproj*
240
241# User-specific files
242*.rsuser
243*.suo
244*.user
245*.userosscache
246*.sln.docstates
247
248# User-specific files (MonoDevelop/Xamarin Studio)
249*.userprefs
250
251# Build results
252[Dd]ebug/
253[Dd]ebugPublic/
254[Rr]elease/
255[Rr]eleases/
256x64/
257x86/
258
259[Ww][Ii][Nn]32/
260[Aa][Rr][Mm]/
261[Aa][Rr][Mm]64/
262bld/
263[Bb]in/
264[Oo]bj/
265[Ll]og/
266[Ll]ogs/
267
268# Do not ignore arch-specific folders anywhere under thirdparty libraries
269!thirdparty/**/x64/
270!thirdparty/**/x86/
271!thirdparty/**/arm/
272!thirdparty/**/arm64/
273
274thirdparty/swappy-frame-pacing/arm64-v8a/abi.json
275thirdparty/swappy-frame-pacing/armeabi-v7a/abi.json
276thirdparty/swappy-frame-pacing/x86/abi.json
277thirdparty/swappy-frame-pacing/x86_64/abi.json
278
279thirdparty/perfetto/
280
281# Visual Studio 2015/2017 cache/options directory
282.vs/
283
284# Visual Studio 2017 auto generated files
285Generated\ Files/
286
287# Files built by Visual Studio
288*_i.c
289*_p.c
290*_h.h
291*.ilk
292*.meta
293*.obj
294*.iobj
295*.pch
296*.pdb
297*.ipdb
298*.pgc
299*.pgd
300*.rsp
301*.sbr
302*.tlb
303*.tli
304*.tlh
305*.tmp
306*.tmp_proj
307*_wpftmp.csproj
308*.log
309*.tlog
310*.vspscc
311*.vssscc
312.builds
313*.pidb
314*.svclog
315*.scc
316
317# Visual C++ cache files
318ipch/
319*.aps
320*.ncb
321*.opendb
322*.opensdf
323*.sdf
324*.cachefile
325*.VC.db
326*.VC.VC.opendb
327
328# Visual Studio profiler
329*.psess
330*.vsp
331*.vspx
332*.sap
333
334# Visual Studio Trace Files
335*.e2e
336
337# ReSharper is a .NET coding add-in
338_ReSharper*/
339*.[Rr]e[Ss]harper
340*.DotSettings.user
341
342# Visual Studio cache files
343# files ending in .cache can be ignored
344*.[Cc]ache
345
346# Others
347ClientBin/
348enc_temp_folder/
349~$*
350*.dbmdl
351*.dbproj.schemaview
352*.jfm
353*.pfx
354*.publishsettings
355orleans.codegen.cs
356
357# Backup & report files from converting an old project file
358# to a newer Visual Studio version. Backup files are not needed,
359# because we have git ;-)
360_UpgradeReport_Files/
361Backup*/
362UpgradeLog*.XML
363UpgradeLog*.htm
364ServiceFabricBackup/
365*.rptproj.bak
366
367# Hint file for IntelliSense
368cpp.hint
369
370###################
371### OS specific ###
372###################
373
374# Linux
375*~
376.directory
377
378# macOS
379.DS_Store
380__MACOSX
381Godot.app
382
383# Windows
384# https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
385[Tt]humbs.db
386[Tt]humbs.db:encryptable
387ehthumbs.db
388ehthumbs_vista.db
389*.stackdump
390[Dd]esktop.ini
391$RECYCLE.BIN/
392*.cab
393*.msi
394*.msix
395*.msm
396*.msp
397*.lnk
398*.generated.props