From cb6bea3f360f08b782404e17a6d8735906918c5f Mon Sep 17 00:00:00 2001 From: MatthewBeshay <92357869+MatthewBeshay@users.noreply.github.com> Date: Wed, 18 Mar 2026 11:24:10 +1100 Subject: [PATCH] Update .gitignore --- .gitignore | 56 ++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index 078c49c1e..a98492abb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,30 +1,28 @@ -# ----- Build output directories ----- -build/ -builddir/ -.cache/ -.idea/ -build_meson/ +# Exclude everything by default +/* -# meson subprojects (git clone'd on build) -/subprojects/* -!/subprojects/*.wrap - -# Nix flake output -result - -# Meson generated artifacts (inside source tree, e.g. per-subdir) -meson-private/ -meson-info/ -meson-logs/ - -# ----- IDE / editor ----- -.cache/ -.idea/ -.vscode/ -*.code-workspace -*.swp -*.swo -*~ - -# ----- Documentation ----- -docs/ +# Except for tracked top-level project directories +!/.devcontainer/ +!/.github/ +!/.github-assets/ +!/4J.Input/ +!/4J.Profile/ +!/4J.Render/ +!/4J.Storage/ +!/docs/ +!/Minecraft.Assets/ +!/Minecraft.Client/ +!/Minecraft.World/ +!/scripts/ +!/subprojects/ +!/.clang-format +!/.git-blame-ignore-revs +!/.gitattributes +!/.gitignore +!/.gitmodules +!/CONTRIBUTING.md +!/flake.lock +!/flake.nix +!/meson.build +!/meson.options +!/README.md \ No newline at end of file