Skip to content

Commit c8150ab

Browse files
steveyeggeclaude
andcommitted
chore: update .beads/.gitignore with additional entries
- Add sync-state.json, last-touched to ignores - Add redirect file ignore (worktree paths) - Update comments explaining why negation patterns removed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 637df1d commit c8150ab

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.beads/.gitignore

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ daemon.lock
1010
daemon.log
1111
daemon.pid
1212
bd.sock
13+
sync-state.json
14+
last-touched
1315

1416
# Local version tracking (prevents upgrade notification spam after git ops)
1517
.local_version
@@ -18,6 +20,10 @@ bd.sock
1820
db.sqlite
1921
bd.db
2022

23+
# Worktree redirect file (contains relative path to main repo's .beads/)
24+
# Must not be committed as paths would be wrong in other clones
25+
redirect
26+
2127
# Merge artifacts (temporary files from 3-way merge)
2228
beads.base.jsonl
2329
beads.base.meta.json
@@ -26,8 +32,8 @@ beads.left.meta.json
2632
beads.right.jsonl
2733
beads.right.meta.json
2834

29-
# Keep JSONL exports and config (source of truth for git)
30-
!issues.jsonl
31-
!interactions.jsonl
32-
!metadata.json
33-
!config.json
35+
# NOTE: Do NOT add negation patterns (e.g., !issues.jsonl) here.
36+
# They would override fork protection in .git/info/exclude, allowing
37+
# contributors to accidentally commit upstream issue databases.
38+
# The JSONL files (issues.jsonl, interactions.jsonl) and config files
39+
# are tracked by git by default since no pattern above ignores them.

0 commit comments

Comments
 (0)