From 395f6da0f2106d4027159a68f6e26570efca6a26 Mon Sep 17 00:00:00 2001 From: mya Date: Fri, 29 Dec 2023 16:06:57 -0600 Subject: [PATCH] git: use allowlist --- .gitignore | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9f11b75..effda26 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,20 @@ -.idea/ +# Ignore everything +* + +# But not these +!/.gitignore +!*.proto +!buf.gen.yaml +!buf.lock +!buf.yaml + +!legal/* +!scripts/**/* +!swagger/* + +!LICENSE +!Makefile +!swagger.json + +# ...even if they are in subdirectories +!*/