From e5204c4a3ab8f2a61802c668bbc44d96f3c6e5e9 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 19 Sep 2025 09:37:36 +0300 Subject: [PATCH] meta: gitignore everything by default Signed-off-by: NotAShelf Change-Id: I6a6a6964f4f01faeb5551718574c19cc2fa12c57 --- .gitignore | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c5ee468..92ecf03 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,33 @@ -target/ -.direnv/ -result/ +# Ignore everything by default +/* +!/ + +!/nix +!/src +!/vendor + +# Rust/Cargo +!/Cargo.lock +!/Cargo.toml + +# Configuration files +!/.config/ +!/.rustfmt.toml +!/.clippy.toml +!/.taplo.toml +!/.gitattributes +!/.gitignore +!/.github +!/.editorconfig + +# Nix +!/flake/**/*.nix +!/flake.nix +!/flake.lock +!/shell.nix +!/default.nix +!/.envrc + +# Misc +!/README.md +!/LICENSE