docs: clarify .graphifyignore vs .gitignore fallback behaviour (#1137)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Safi
2026-06-05 22:06:02 +01:00
co-authored by Claude Sonnet 4.6
parent b368c0eb25
commit 6e860e018a
+3 -1
View File
@@ -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