Carbon has changed default branch name from MASTER to MAIN -- what do I do? #8016
-
Carbon has updated our naming for our default branch from Master to Main. This change effects your work with Carbon in your local clones (on your machines) and on your fork of Carbon on Github.com. Updating your local clone:
Currently there is no command line way (to my knowledge, let me know in the comments if this isn't the case) to set a new Updating the default branch of your fork of Carbon on Github: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Viewing my fork for the first time since the change, I got this nice prompt to change the default. Worth noting that the |
Beta Was this translation helpful? Give feedback.
Viewing my fork for the first time since the change, I got this nice prompt to change the default.
Worth noting that the
gh
cli tool now has direct api access and it appears you can change your default branch through it! cli/cli#929 (comment)