Skip to content

Can't change default branch anymore from the web? #120083

Closed Answered by seanmavley
seanmavley asked this question in Repositories
Discussion options

You must be logged in to vote

cc @queenofcorgis

That one looks like it is currently the default which is the branch you'd see this option on, not the one you want to switch to ❤️

Nope. I only get 3 options as per image below, and changing default branch isn't part of it.

If you guys have removed the option from the web, as in option to swap default branch, no problem, just say so. It's just not there on the web anymore.

As they say, perfection is achieved not when there is nothing more to add but when there is nothing left to take away - Keep taking away things from the web. sigh

Answer:

By the way, I updated the default branch via github cli with

gh repo edit <username>/<repo> --default-branch main

Edit:

Ha!

So, c…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zombiecat69
Comment options

Answer selected by seanmavley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question
3 participants