From 7778ed75f9415815d2c26d80eb93d1af3b3114a6 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 14 Jun 2024 11:50:42 +0200 Subject: [PATCH] Hint at not contributing user-specific Git ignores --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 33cedd75f8d..78cd84318a8 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,6 @@ $/tests/fixtures/commit-graphs/ # newer Git sees these as precious, older Git falls through to the pattern above $**/fuzz/Cargo.lock + +# Instead of adding more environment-specific ignores here, like for the IDE in use, prefer Git's user-global +# `core.excludesFile` mechanism, see https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreexcludesFile.