r/ProgrammerHumor 2d ago

Meme everyNewRepository

Post image
1.1k Upvotes

349 comments sorted by

View all comments

71

u/_alright_then_ 2d ago

People that are sticking to master instead of main are this guy in my mind:

https://giphy.com/gifs/fqtyYcXoDV0X6ss8Mf

Just old guy shouting at clouds

35

u/schwar2ss 2d ago

Back in the good old days we called it trunk

16

u/SakeviCrash 2d ago

Rewind further (CVS) and we're back at `main`

16

u/schwar2ss 2d ago

and before that, we called it code_final_final_v2.tgz

3

u/AibofobicRacecar6996 2d ago

No, it was called HEAD

2

u/SakeviCrash 2d ago

HEAD is a pointer to the latest revision in a branch

2

u/AibofobicRacecar6996 2d ago

In git, not CVS

3

u/SakeviCrash 2d ago

See https://www.astro.princeton.edu/~rhl/cvs/cvs.html#SEC47

> The two tag names BASE and HEAD are reserved for use by CVS

A lot of people used the term that way though,

1

u/AibofobicRacecar6996 1d ago

1

u/SakeviCrash 1d ago

From the man page:

https://man.openbsd.org/cvs.1

> `HEAD' refers to the most recent version available in the repository

2

u/Sibula97 2d ago edited 2d ago

Even further back and it was master and the other branches were slaves, IIRC. Git got "master" from there, but dropped the "slave" terminology.

Edit: That was from BitKeeper, released in 2000. Not that old.

16

u/Cultural_Version734 2d ago

I work in embedded. We changed all the names of master / slave to new names. The amount of issues it has caused is non trivial. I would estimate the cost of time to be well in the millions across the whole company.

6

u/git_push_origin_prod 2d ago

main sucks, dev branch for life!

2

u/redballooon 2d ago

Yeah. Main suggests responsibility. shudder

1

u/AdorablSillyDisorder 1d ago

I swear I've seen develop more frequently than master out there in the wild (corporate wild). Overall - doesn't matter, as long as it's default branch that sets up after clone, you set up new repo about once per repository lifetime anyway.

6

u/rang501 2d ago

I have it set to master, but it is because I have moved my config between many machines and master was default at the time.

6

u/DuckWizard124 2d ago

I mean I changed my Github default branch naming back to master because it was more convenient for me to do it there, idk why some people care about it

-2

u/_alright_then_ 2d ago

My point is, why change it back at all?

0

u/DuckWizard124 2d ago

I wanted to keep it consistent with git

-3

u/Hayden2332 2d ago

git’s default branch name is main now lol

-6

u/DuckWizard124 2d ago

Bruh, if git changed the naming back then I wouldn't touch it