When bd init --contributor detects a fork setup (upstream remote exists), it now configures sync.remote = upstream. This ensures bd sync pulls beads from the source repo (upstream/main) rather than the fork's potentially outdated origin/main. Changes: - Add sync.remote config in contributor wizard when fork detected - Modify doSyncFromMain() to use configured sync.remote - Add getDefaultBranchForRemote() to support any remote name - Verify configured remote exists before fetching Fixes bd-bx9 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
7.9 KiB
7.9 KiB