feat(vcs): Prefer upstream remote over origin for base repo name#2737
Merged
runningcode merged 2 commits intomasterfrom Sep 12, 2025
Merged
feat(vcs): Prefer upstream remote over origin for base repo name#2737runningcode merged 2 commits intomasterfrom
runningcode merged 2 commits intomasterfrom
Conversation
szokeasaurusrex
approved these changes
Sep 11, 2025
szokeasaurusrex
requested changes
Sep 11, 2025
Member
szokeasaurusrex
left a comment
There was a problem hiding this comment.
Ah approved too early – please adjust the function's doc comment to reflect the new behavior 🙏
Then, this looks good!
Contributor
Author
|
Updated |
When determining the base repository name, now prioritizes: 1. upstream (if exists) 2. origin (if exists) 3. first available remote This follows Git conventions where upstream typically refers to the original repository when working with forks. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…preference Update function documentation to correctly reflect that we now prefer "upstream" remote first, then "origin", then first available remote. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
782ef44 to
f832638
Compare
szokeasaurusrex
approved these changes
Sep 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prefer "upstream" remote over "origin" when determining base repository name, following Git fork conventions.
🤖 Generated with Claude Code