Two issues fixed: 1. `bd init` was auto-detecting current branch (e.g., main) as sync.branch when no --branch flag was specified. This caused worktree conflicts. 2. Added validation to reject main/master as sync.branch values. When sync.branch is set to main, the worktree mechanism creates a checkout of main at .git/beads-worktrees/main/, which prevents git checkout main from working in the user's working directory. The sync branch feature should use a dedicated branch like 'beads-sync'. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Executed-By: beads/crew/dave Rig: beads Role: crew
26 KiB
26 KiB