What
.codegraph/ is a per-machine CodeGraph index. Drop the tracked .codegraph/.gitignore and ignore the whole folder from the root .gitignore instead of .codegraph/*.
Risk
None: no app code. Local indexes are untouched.
Test evidence
-
git diff --stat origin/develop HEAD:.codegraph/.gitignoreremoved, one line changed in.gitignore.