How to Change Default Branch in GitHub | Scribe

    How to Change Default Branch in GitHub

    • |
    • 0 step |
    • 46 seconds
      Navigate to your repository page on GitHub.
      On your repository page, click Settings.
      Select Branches from the options on the left sidebar.
      Click the icon to the right of the branch name to switch to another branch.
      From the drop-down, select the branch that you want to switch to.
      Next, click update to perform the switch.
      Click the big red button saying that you understand the changes you're about to make. After that, your default branch is changed.
      Was this Scribe helpful?
      Save this document for future reference.
      click-target-circles-background
      This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe