Ignoring a directory will also ignore everything inside it, so dir/* ignores are redundant. File ignores(the ones without a trailing slash) are also unnecessary for build, .godot and .import since they are always a directory.
I ignored everything insidebuild recursively and not build itself to keep the .gdignore file which will make Godot ignore the build directory.
Ignoring a directory will also ignore everything inside it, so
dir/*
ignores are redundant. File ignores(the ones without a trailing slash) are also unnecessary forbuild
,.godot
and.import
since they are always a directory.I ignored everything inside
build
recursively and notbuild
itself to keep the.gdignore
file which will make Godot ignore thebuild
directory.