The .beads/.gitignore now ignores everything by default and explicitly whitelists tracked files. This fixes confusion about which files to commit when using protected branches workflow. Changes: - Use `*` to ignore all by default, then `!file` to whitelist - Fix config.json -> config.yaml (wrong filename in negation) - Update doctor check to validate new patterns - Update PROTECTED_BRANCHES.md documentation - Simplify git add instructions to just `git add .beads/` Fixes #473 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
476 B
Plaintext
21 lines
476 B
Plaintext
# Ignore all .beads/ contents by default (local workspace files)
|
|
# Only files explicitly whitelisted below will be tracked in git
|
|
*
|
|
|
|
# === Files tracked in git (shared across clones) ===
|
|
|
|
# This gitignore file itself
|
|
!.gitignore
|
|
|
|
# Issue data in JSONL format (the main data file)
|
|
!issues.jsonl
|
|
|
|
# Repository metadata (database name, JSONL filename)
|
|
!metadata.json
|
|
|
|
# Configuration template (sync branch, integrations)
|
|
!config.yaml
|
|
|
|
# Documentation for contributors
|
|
!README.md
|