The test helper createTestGitRepo was using plain `git init` which creates a branch based on the system's init.defaultBranch config. When AddRig tries to detect and checkout the default branch, it falls back to "main" if detection fails, causing "pathspec 'main' did not match" errors in CI where the system default is "master". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 KiB
16 KiB