Save for Later
This guide was created with Scribe in
46 seconds.
Sign in and create your own!
How to Change Default Branch in GitHub
If you want to switch your repository's default branch, it is a straightforward process in GitHub. Follow these steps to get started.
Tyler Harz
|
0 step
|
46 seconds
1
Navigate to your repository page on GitHub.
Zoom Saved
2
On your repository page, click Settings.
Zoom Saved
3
Select Branches from the options on the left sidebar.
Zoom Saved
4
Click the icon to the right of the branch name to switch to another branch.
Zoom Saved
5
From the drop-down, select the branch that you want to switch to.
Zoom Saved
6
Next, click update to perform the switch.
Zoom Saved
7
Click the big red button saying that you understand the changes you're about to make. After that, your default branch is changed.
Zoom Saved
Was this Scribe helpful?
Save this document for future reference.
Save for Later
Have something to say?
Create an account to leave messages for the author to see!
Create an account
Feedback
This Scribe is in tip-top shape!
Leave feedback if there are any issues with this Scribe