From 58e833b3a6d6fdf7b139e2d5c1f1c3cb8ac92c25 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Tue, 4 Apr 2023 08:58:45 +0200 Subject: [PATCH] Update gitignore --- .gitignore | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2ed6ff1..c15531e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,25 @@ +# First, ignore everything * - -## Except +# Now, whitelist anything that's a directory +!*/ +# And all the file types you're interested in +!.gitignore +!.githooks/post-merge !**/.gitignore !**/.githooks/post-merge -!/etc/*.ini -!/etc/atb/*.ini -!/etc/psa_config/* -!/etc/psa_update/* -!/etc/psa_tariff/* -!/etc/dc/dc2c.hex + +## Except +!etc/atb/* +!etc/psa_config/* +!etc/psa_update/* +!etc/psa_tariff/* +!etc/dc/*.hex +!etc/dc/*.bin +!*/etc/*.ini +!*/etc/atb/* +!*/etc/psa_config/* +!*/etc/psa_update/* +!*/etc/psa_tariff/* +!*/etc/dc/*.hex +!*/etc/dc/*.bin