gitignore
gitignore copied to clipboard
Add .godot/ folder to Godot.gitignore for Godot 4
Reasons for making this change:
Add .godot/
folder to the Godot gitignore because in Godot 4.0 all generated files that should be gitignored will go in .godot/
. This PR also updates the comments, let me know what you think.
Ignoring .godot/
is harmless in Godot 3.x, and ignoring the rest will be harmless in Godot 4.x, so we can include both.
Links to documentation supporting these rule changes:
https://github.com/godotengine/godot/pull/38607 and https://github.com/godotengine/godot/pull/38704
- Link to application or project’s homepage: https://godotengine.org/ and https://github.com/godotengine/godot
Bump :slightly_smiling_face:
This is still relevant to merge today. Judging how Godot 4.0 adoption will likely start rising as soon as the first alpha is released, it makes sense to merge this now.
Godot 3.x will remain used for a long time, so .import/
should be kept in for a few more years at least.
Also shader_cache
needs to be excluded or moved into .godot
Also
shader_cache
needs to be excluded or moved into.godot
This is a bug that needs to be fixed on Godot's end. shader_cache
is meant to be saved to Godot's cache directory, but it's not if you create the project by using touch project.godot
then open the editor directly.
Bump :slightly_smiling_face: cc @bdougie
This is still relevant as of 4.0.alpha14, and it won't change for 4.0 stable.
I agree, if this is done sooner, it will prevent a lot of wasted resources uploaded and downloaded.
My take: https://github.com/patwork/gitignore/blob/main/Godot.gitignore