Files
beads/cmd/bd
Steve Yegge 80ec809473 feat: configure sync.remote for contributor fork workflows
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>
2025-11-29 23:22:52 -08:00
..
2025-11-25 11:46:06 -08:00
2025-11-25 19:32:05 -08:00
2025-11-25 19:32:05 -08:00
2025-11-29 19:53:48 -08:00
2025-11-24 21:16:44 -08:00
2025-11-24 11:28:32 -08:00
2025-11-24 22:21:55 -08:00
2025-11-23 17:16:27 -08:00
2025-11-29 19:53:48 -08:00