Ignore CodeGraph indexes from the repository root as well.
A second ignore layer keeps the SQLite database local even if codegraph init overwrites the nested policy file. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+10
-2
@@ -1,5 +1,13 @@
|
||||
# CodeGraph data files — local to each machine, not for committing.
|
||||
# Ignore everything in .codegraph/ except this file itself, so transient
|
||||
# files (the database, daemon.pid, sockets, logs) never show up in git.
|
||||
# Ignore everything in .codegraph/ except this file itself. Known transients:
|
||||
# SQLite database and WAL/SHM, daemon.pid, sockets, and logs. The catch-all
|
||||
# covers anything codegraph init adds later.
|
||||
codegraph.db
|
||||
codegraph.db-wal
|
||||
codegraph.db-shm
|
||||
codegraph.db-journal
|
||||
daemon.pid
|
||||
*.sock
|
||||
*.log
|
||||
*
|
||||
!.gitignore
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# CodeGraph local index. A second layer so the database stays untracked even
|
||||
# if .codegraph/.gitignore is overwritten by codegraph init.
|
||||
.codegraph/*
|
||||
!.codegraph/.gitignore
|
||||
Reference in New Issue
Block a user