gastown/crew/jack
eea4435269
feat(rig): Add --branch flag for custom default branch
...
Add --branch flag to `gt rig add` to specify a custom default branch
instead of auto-detecting from remote. This supports repositories that
use non-standard default branches like `develop` or `release`.
Changes:
- Add --branch flag to `gt rig add` command
- Store default_branch in rig config.json
- Propagate default branch to refinery, witness, daemon, and all commands
- Rename ensureMainBranch to ensureDefaultBranch for clarity
- Add Rig.DefaultBranch() method for consistent access
- Update crew/manager.go and swarm/manager.go to use rig config
Based on PR #49 by @kustrun - rebased and extended with additional fixes.
Co-authored-by: kustrun <kustrun@users.noreply.github.com >
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-04 14:01:02 -08:00
..
2025-12-30 20:52:23 -08:00
2025-12-30 18:03:06 -08:00
2026-01-01 18:58:56 -08:00
2026-01-01 18:58:56 -08:00
2026-01-03 14:33:24 -08:00
2025-12-30 16:43:39 -08:00
2026-01-03 16:11:55 -08:00
2026-01-02 18:56:45 -08:00
2026-01-03 16:11:55 -08:00
2025-12-30 18:03:06 -08:00
2026-01-03 16:11:55 -08:00
2026-01-01 18:53:39 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 21:37:05 +01:00
2026-01-04 12:31:16 -08:00
2026-01-04 13:17:39 -08:00
2026-01-04 14:01:02 -08:00
2026-01-04 14:01:02 -08:00
2026-01-03 16:11:55 -08:00
2026-01-02 17:30:24 -08:00
2026-01-03 21:37:05 +01:00
2026-01-04 15:30:57 -05:00
2026-01-03 11:49:42 -08:00
2026-01-03 16:23:44 -08:00
2026-01-03 21:09:59 -08:00
2026-01-03 14:33:24 -08:00
2026-01-01 18:54:36 -08:00
2026-01-04 10:36:23 -08:00
2026-01-03 21:37:05 +01:00
2026-01-04 14:01:02 -08:00
2026-01-04 00:17:37 -08:00
2025-12-30 10:54:29 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:12:27 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:11:55 -08:00
2026-01-04 12:56:33 -08:00
2026-01-04 13:09:24 -08:00
2026-01-03 16:11:55 -08:00
2025-12-30 18:03:06 -08:00
2026-01-02 00:22:17 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 21:00:00 -08:00
2026-01-03 21:00:00 -08:00
2025-12-30 22:10:08 -08:00
2026-01-03 21:53:30 -08:00
2026-01-01 18:58:56 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 21:53:30 -08:00
2026-01-03 16:11:55 -08:00
2025-12-30 22:02:45 -08:00
2026-01-02 17:18:27 -08:00
2026-01-02 17:18:27 -08:00
2026-01-04 14:01:02 -08:00
2026-01-01 18:56:35 -08:00
2026-01-01 18:54:36 -08:00
2026-01-03 14:33:24 -08:00
2026-01-03 16:11:55 -08:00
2026-01-01 19:16:06 -08:00
2025-12-30 18:03:06 -08:00
2026-01-03 21:37:05 +01:00
2026-01-03 16:11:55 -08:00
2026-01-04 14:56:14 -05:00
2026-01-02 17:11:11 -08:00
2026-01-03 21:53:30 -08:00
2026-01-04 13:17:39 -08:00
2026-01-02 18:25:15 -08:00
2026-01-01 19:11:04 -08:00
2026-01-04 10:36:23 -08:00
2026-01-04 14:01:02 -08:00
2025-12-30 22:13:14 -08:00
2025-12-31 00:27:59 -08:00
2026-01-03 16:11:55 -08:00
2026-01-04 13:12:22 -08:00
2026-01-04 14:01:02 -08:00
2026-01-01 18:15:37 -08:00
2026-01-03 21:09:59 -08:00
2026-01-03 14:33:24 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:11:55 -08:00
2026-01-01 16:01:28 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 14:33:24 -08:00
2026-01-03 16:11:55 -08:00
2026-01-01 10:58:33 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 15:10:20 -08:00
2026-01-03 16:11:55 -08:00
2025-12-30 21:16:43 -08:00