From 6e860e018a32cfc1d4b84e275107b166f0d90b72 Mon Sep 17 00:00:00 2001 From: Safi Date: Fri, 5 Jun 2026 22:06:02 +0100 Subject: [PATCH] docs: clarify .graphifyignore vs .gitignore fallback behaviour (#1137) Co-Authored-By: Claude Sonnet 4.6 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 06f19ef3..b7b258d2 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,9 @@ See the [full command reference](#full-command-reference) below. ## Ignoring files -Create a `.graphifyignore` in your project root — same syntax as `.gitignore`, including `!` negation: +Create a `.graphifyignore` in your project root — same syntax as `.gitignore`, including `!` negation. + +**`.gitignore` is respected automatically.** If no `.graphifyignore` is present in a directory, graphify falls back to the `.gitignore` in that directory. If both exist, `.graphifyignore` takes priority. Subdirectory scoping works the same way as git — an ignore file only affects its own subtree. ``` # .graphifyignore