1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Configure a New Github Repo to Use a Different Default Branch

    gitgit

    By default, git provides master as the default branch. This lesson shows how to get round that and use an alternative as the default branch.

    The key is to switch to a new branch before you add your first commit, I choose main in this lesson. When I push main up to Github as the first branch, it gets set to the default.