From 16088b51d1bf8b69101ee51d8f4b92e0c0090e23 Mon Sep 17 00:00:00 2001 From: Lieven Petersen <50841810+LievenPetersen@users.noreply.github.com> Date: Thu, 15 Feb 2024 15:53:46 +0100 Subject: [PATCH] gitignore example executables on Linux and OSX (#374) --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 18c01c5..9801747 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,13 @@ *.x86_64 *.hex +# Executables in examples (for Linux and OSX) +# ignore all files in specific example directories +examples/*/* +# except for sub-directories and filenames containing a '.' +!examples/*/*/ +!examples/*/*.* + # Debug files *.dSYM/ *.su