Skip Navigation
150 comments
  • My repos use main because i guess that was the default, but i don't really care. I mean i also call my window manager layout master/stack and i don't see what's wrong with that.

  • I honestly don’t know, and I’m not at my PC to check. I assume it’s main, but with my ADHD I’ve never actually paid attention to that. All I ever remember are my branch names.

  • For all the sudden word scholars here: there is no second word "master" that's spelled, pronounced, and written exactly the same as the other one but is entirely unrelated to the concept of master\slave. All modern meanings of the word master derive from the same root: magister, meaning an authority or teacher.

    A "master recording" is the authority, the base copy from which all others are duplicated. They aren't called "slave" copies, although the primary use of the terms in computing did originally use those 2 words. Also as someone else pointed out, you don't even really make copies of git branches in the same way as audio so the term is misapplied.

    Main is also a bad name, unless you're working on a solo project with only 1 main branch and some features. As soon as you start collaborating with other people, you should really have individual dev branches or "forks" (be honest, 90% of you aren't rawdogging git straight from the CLI, there's a forge website involved as hub) to work on, with an integration\testing "fork"\branch to combine work and a release branch for final code, with each discrete release tagged.

    No gods, no kings, no masters!

150 comments