Do you really have to, tho? One can keep using masters, move them to mains, or even symlink one to another so that everyone is comfortable with whatever they’re used to. Seems like a non-issue to me 🤷
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 ".
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).
For a while, yes, you had to. Every new repo would be main while old ones remained master. Tools that default to a specific branch aside now you had to remember and check which branch you are merging into every time.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
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 🤷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 ".
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.
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.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