Skip to main content

Command Palette

Search for a command to run...

Main or Master: Where Do You Git-llegiances lie?

What do you call your primary repo?

Published
1 min read
Main or Master: Where Do You Git-llegiances lie?
J

I am passionate about creation, be it code or written. I believe that knowledge should be shared and that if we all gave a little bit of our time to helping the next person the world would be a better place.

"Knowledge not shared is knowledge wasted"

If you've been using github long enough, you'll recall a time where your primary branch was named master by default. Master was all we knew as the primary.

Then, I don't exactly recall when, a decision wa111s made to now make the primary branch main. I say decision because although that's what most people switched to, not everyone was on board...

In a number of instances, these type of changes are thrust upon us and we end up accepting them. Even in cases when we're not 100% with them.

That got me curious about peoples preferences....

What do you prefer for your primary branch name; main or master? Also, why?


Thank you for reading, let's connect!

Thank you for visiting this little corner of mine. Let's connect on Twitter, Polywork and LinkedIn

K

When I first joined github master ws the main branch. I didn'y much care for main.

1
J

I'm used to master as well to the point I've set my default to it.

I only ever use main if I'm contributing to some project