Skip to content

Fix Git::remoteName() to prefer origin remote#155

Closed
jonathonbyrdziak wants to merge 1 commit intomasterfrom
fix/git-remote-prefer-origin
Closed

Fix Git::remoteName() to prefer origin remote#155
jonathonbyrdziak wants to merge 1 commit intomasterfrom
fix/git-remote-prefer-origin

Conversation

@jonathonbyrdziak
Copy link
Copy Markdown
Contributor

Summary

  • Git::remoteName() now returns origin when it exists, instead of the first remote alphabetically
  • Fixes releases pushing to the wrong remote (e.g. launchpad instead of origin) in repos with multiple remotes

Test plan

  • Verify protocol release:create pushes to origin in repos with multiple remotes

🤖 Generated with Claude Code

Repos with multiple remotes (e.g. origin + launchpad) would use
whichever remote appeared first alphabetically, causing releases
to push to the wrong remote.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jonathonbyrdziak
Copy link
Copy Markdown
Contributor Author

Already fixed on master — duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant