Why `main` is better than `master` and why no one should complain about it. 1/

đź§µ https://twitter.com/dhh/status/1350091751789375490
`main` is shorter than `master`.

No one likes typing more than they need to.

Think about how many times you have to check it out, now imagine only typing two less characters over an entire year. 2/
`main` makes more sense than `master`.

Please explain to me what `master` means without relying on "master/slave" or any previous history.

Imagine you are teaching a 5-year old how to use `git`. Which is easier to explain what the root branch is and have them remember? 3/
`master` makes some feel bad while `main` is less likely.

Imagine you could make a decision that could make some feel better but not make anyone feel bad.

That's what changing to `main` is. Who cares. If your biggest problem is using a better name, that's sad. 4/
Why you shouldn't change to `main`:

- Change of workflow
- Possibly breaking your local `git` repo for a bit
- You may have bigger things to do (admittedly).

If you have the bandwidth do it, it's free, it's easy and no one has to feel squicked out. 5/
You can follow @Madamelic.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled:

By continuing to use the site, you are consenting to the use of cookies as explained in our Cookie Policy to improve your experience.