Trunk Master Race.
I use “secondary” as my default branch, because fuck the rules.
secondary_final___steves
Some men just want to watch the world burn
I’ve heard people talking about the switch but I’ve not seen it yet on git for Windows. I’d upgrade but I need to set up a new remote box anyway (to replace my on-prem Bitbucket) and I don’t need any hassles between now and whenever I get a chance to do that.
I use master because when I do ‘git init .’ I get a master branch and I am lazy enough to not rename it. As for typing it later on… . Well zsh does that for me
I like und use “main” because it’s shorter, but call it master branch in colloquial speech because it’s cooler.
I also think it’s more descriptive. Just like blocklist and allowlist.
I find it funny how many ppl complained about it when it came up. Now it is the default on github and other code forges. And now one cares anymore if it is master or main.
It was never about the name itself, but about breaking a convention for extremely dubious reasons.
On the plus side, forcing people to support alternative branch names surely has led to better software support for a core Git feature.
That’s like forcing people to have different color shoe laces and calling it good practice. In reality it changed nothing but forced a lot of people to work on solving issues with their scripts and automation tools for the sake of change instead of spending that time on writing actual code and fixing bugs.
You sound like a slave owner, ngl
I am not pro slavery but I will not free my chattel slaves. People just break with this tradition for extremely dubious reasons.
Listen to yourself!
Edit: I was thinking about putting “/s” at the end but thought it was obvious enough. I was wrong
This is the epitome of Poe’s law
Why do I keep getting this comment? Maybe I should call myself Poe in the future
No, you should call yourself poe in the past so you can collect royalties on yourself.
I guess I once again forgot the “/s”. I’m not going to call me “Poe” at any point of time /s
I think on the Fediverse (or just Lemmy?) I’ve seen more people who’d post your comment non-ironically. Or maybe they’re not serious either (but they’d have to be really committed to the bit).
I had a conversation recently where someone said they weren’t serious after several levels of comments that were downvoted into oblivion. I try to make myself understood in the second (or third) level of comments or, as in this case, in an edit
deleted by creator
Sb got offended for no reason, then companies decided to get public approval points out of it; nothing new or notable. Seriously, tf is the point of overanalyzing it like there’s nothing better to do?
This, sooo much this! People don’t realize that this change created a lot of unnecessary work to a lot of developers for no other reason than PR or to act smug about it. They solved slavery problem by renaming
master
tomain
equally well as they solved homophobia and transphobia by allowing people to specify pronouns on their profiles. Who the hell cares if you identify as tree sap. However many do care if your code sucks or doesn’t follow coding style.deleted by creator
Do you really have to, tho? One can keep using
master
s, move them tomain
s, or even symlink one to another so that everyone is comfortable with whatever they’re used to. Seems like a non-issue to me 🤷Symlink a git tag?
I mean smth like
git symbolic-ref refs/heads/master refs/heads/main
. Not sure if it’s a bad practice or smth, tho
We’ve ended up with a 50:50 chance of what any repo is doing. All depends on when the repo was created (old ones are all master) and if the creator tried to preserve consistency or not (yes: master, no: took the default of main).
It’s annoying and pointless.
It’s an issue, because many tools default to a certain branch, and people do too. So each build pipeline has to be changed, each dev has to check for each repo he’s working on, whether it’s using main or master, etc, etc.
Just think about what hell would break loose, if Microsoft would be forced to rename C: to something else because someone was reminded of the "C word ".
For a while, yes, you had to. Every new repo would be
main
while old ones remainedmaster
. Tools that default to a specific branch aside now you had to remember and check which branch you are merging into every time.
Master is still the default branch when you run
git init
.Depends on your version of git, I believe.
The latest version from kernel.org still uses master. It’s certainly possible for distro maintainers to change it on the versions they package though.
Yeah, seems like I’m wrong. I looked up the docs on git-scm.com and it says that the default branch name is “currently master, but this is subject to change in the future”. Maybe GitHub threw me off.
Because its a non issue to developers.
It was only a hand wringing thing by internet bloggers.
Try not to make memes that imply you’re not anti-slavery.
I can’t wait for asshats to start calling for gender fluid connectors. What’s that, male 3.5mm connector, did you just assume my connectors identity?
I‘m anti-slavery but that’s just not the reason I use main as default branch
yup same. I hate slavery just like anyone else but fail to see how naming a branch master has to do anything with it. Next are they gonna claim that master’s degree is pro slavery or something
https://edition.cnn.com/2020/07/06/us/racism-words-phrases-slavery-trnd/index.html
Tldr: They’re a reminder of slavery, some people feel uncomfortable using / hearing them, it would not be hard for you to make their lifes a bit better by not using them but you can obviously do whatever you like.
RIght, because the best way to stop bad things from happening is to have everyone forget they happened…
deleted by creator
They’re a reminder of slavery, some people feel uncomfortable using / hearing them
If you can’t even interpret that little text, you should go back to grade 1 school
deleted by creator
deleted by creator
Bachelor’s degree means you’re not married, so obviously an incel.
And doctors degree means you are legally allowed to perform surgery.
Do you mean “doctorate”? Because a “doctors degree” would usually be understood to be a medical degree, which means yes, you can definitely be a doctor lol
deleted by creator
Idk, same people who think naming git branches master is somehow pro slavery? Whoever they are
deleted by creator
I put this one in the same camp as whichever well-meaning person came up with “happy holidays”. Other religions and cultures don’t mind Westerners celebrating Christmas, and over-corrections like this just give fuel to the “political correctness gone mad” (now re-branded as anti-woke) crowd.
Happy Holidays makes perfect sense. You can start saying it in early December, whereas if you say Merry Christmas in early December, you seem like you’re not very good with dates. Or maybe you’re one of those people who’s really obsessed with Christmas. I’ll say Happy Holidays until around the 23rd, when I’ll say Merry Christmas until the 26th, back to Happy Holidays until the 31st, when I say Happy New Year.
The term “master” is often used with the term “slave” in computing: https://en.wikipedia.org/wiki/Master-slave_(technology)
So it wouldn’t be odd to assume that git’s use of the term “master” also refers to slavery.although in the context of version control, the term master simply refers to the gold master, a term borrowed from the recording industry which refers to the final mixed version of a recording, and does not have a corresponding slave.
Either way, I think “main branch” is easier to say, so it’s a win.
Don’t give the fucking outrage vampires any ideas.
does it count anything? like… no one’s gonna find my repository anyway
I use
main
because, although I never heard of anybody actually getting offended bymaster
, it costs me nothing to usemain
instead. Also it looks prettier and seems to be the new convention ¯\_(ツ)_/¯For people who really think it doesn’t matter, then why does it matter so much you waste your time complaining?
I use
mainline
, and I thought I was incredibly lazy!I guess I am not lazy enough.
I use main as my default branch because it’s what Git has been defaulting to for some time now
Git’s still master by default; github uses main for new repositories.
You mean github.
Instead of either, it’s good to have a more descriptive primary branch:
git checkout -b dontwritetothisbranchdirectlyyougottaopenaprfirstandhaveitreviewedandapprovedandthenpasstheautomatictests
Still shorter than a java class name.
Git checkout -b neverpushtothisbranchthismeansyou
Git checkout -b branchprotectiononlyworksifyouarenotsetupwithadminprivilegesontherepoingithubthismeansyouhowardgodammit
Y’all. At least put some dashes between the words
Oh of course. But I was following the code standard set by the first one. I suspect everyone else was too.
howard knows what he did
git checkout -b dontcommitherejerry
git co -b nevergonnagiveyouupnevergonnaletyoudown
git commit -m “that sign can’t stop me because i can’t read”
Slave owning GitHub users everywhere offended