From 089d8aba43f42090645fcb7c190c74cda356cd1a Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Wed, 31 Aug 2022 13:17:20 +0200 Subject: [PATCH] examples,tests: ignore core dumps via .gitignore This will ignore files named `core` and `core.*` (except `core.c`, `core.h`, `core.md`, `core.txt`) placed directly in the application folder. This is where `make` is typically called and core dump due to a crashing native application, flashing tool, or GDB would be placed. The pattern is intentionally quite narrow, as there is e.g. a core source folder that should still be monitored. --- examples/.gitignore | 6 ++++++ tests/.gitignore | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 examples/.gitignore create mode 100644 tests/.gitignore diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000000..54d0b1f5ff --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,6 @@ +/*/core +/*/core.* +!/*/core.c +!/*/core.h +!/*/core.md +!/*/core.txt diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000000..54d0b1f5ff --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1,6 @@ +/*/core +/*/core.* +!/*/core.c +!/*/core.h +!/*/core.md +!/*/core.txt