Brendan O'Leary
  • Home
  • About
  • Portfolio
  • Talks
  • Contact Me
Subscribe

Build Inclusive

Changing your default branch - all the places

You can also read my blog post on changing the default branch stream upstream in git or renaming your own default branch in GitLab. This post is a living post where I document all the different places where one may need to update the default branch when changing the name
Brendan O'Leary Jun 13, 2020

Rename your Git default branch from master to main (with GitLab screenshots)

This article was inspired by Scott Hanselman's article about the same topic. You can also read my blog post on changing the default branch stream upstream in git or changing your default branch everywhere else. Also while you're here, go follow me on Twitter So let's say you're bought in:
Brendan O'Leary Jun 11, 2020

I was wrong

I've been using Git for years and always took for granted that the default branch name was master. After all, it's been that way since May 2005 long before I started using Git. At the same time, I've been very supportive of efforts to eliminate master/slave metaphors in tech.
Brendan O'Leary Jun 10, 2020

Subscribe to Brendan O'Leary

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
  • Code of Conduct
  • Twitter
  • Mastodon
  • Legacy Site
Brendan O'Leary © 2023. Powered by Ghost

Note: The views expressed on this site are my own personal views and do not represent the opinions of any entity whatsover which I have been, am now, or will be affiliated.