← Back
Gerald Versluis September 1, 2020 12m

Rename Master to Main for Git and GitHub in the Terminal

Summary

This video demonstrates how to rename your Git default branch from "master" to "main," referencing a blog post by Scott Hanselman and using terminal commands. The practical takeaway is that renaming the branch locally and pushing it to the remote is straightforward, but you must also update any "dead links" in documentation like READMEs, wikis, or CI/CD configurations that might still point to the old "master" branch.

View original episode ↗