Skip to content

cmd/update: ensure local branch moves to main #20190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2025
Merged

cmd/update: ensure local branch moves to main #20190

merged 1 commit into from
Jun 28, 2025

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Jun 27, 2025

We can make this work better by simply using the existing logic we have when you're on your own development branch, which normally checks out main temporarily. But instead we special case to never switch back if that original branch is master and remain on main permanently (and then delete master).

Copy link
Member

@p-linnane p-linnane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thanks!

@Bo98 Bo98 added this pull request to the merge queue Jun 27, 2025
Merged via the queue into main with commit 01c8e42 Jun 28, 2025
52 of 53 checks passed
@Bo98 Bo98 deleted the local-main-fix branch June 28, 2025 00:06
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.

3 participants