Skip to content

Comment on How to bring back master branch?

Comments

Use master as a branch name for your projects if you want, no one will stop you. But really consider if you believe "master" is a better name than "main" for the main branch of your repository. Like, imagine you're creating git today and need a default name for the main branch: is "master" the first name that comes to your mind? is it "main"? is it something else? This is the question you have to answer in good faith.

Main, and I promise you, is not it. Trunk? Maybe. master is on the top of the list. I was never opposed to folks using trunk (years before PC stuff).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.