You are viewing a single thread.
View all comments View context
6 points

Fuck those that use main. If you’re working on a library fork that has main and a project that has master you’re bound to invert the two.

“What do you mean I can’t checkout main? Oh right, here it’s master…”

For once that we had a standard, it had to be ruined.

permalink
report
parent
reply
20 points

Fuck those that use master. If you’re working on a library fork that has main and a project that has master you’re bound to invert the two.

“What do you mean I can’t checkout main? Oh right, here it’s master…”

For once that we had a standard, it had to be ruined.

The standard is now main.

permalink
report
parent
reply
21 points

The standard is now main.

Git itself does not use that standard yet, so at least now there are two competing standards.

I get that there are cultural reasons why the word master was loaded language, but still, it’s not like institutional racism will go away. Meanwhile, the rest of the world which doesn’t struggle with the remnants of slavery has to put up with US weirdness.

permalink
report
parent
reply
13 points

Git itself does not use that standard yet, so at least now there are two competing standards.

Just ran git init in a brand new empty directory, and while it did create a master branch by default, it also printed out a very descriptive message explaining how you can change that branch name, how you can configure git to use something else by default, and other standards that are commonly used.

Also, there’s nothing saying your local branch name has to match the upstream. That’s the beauty of git - you have the freedom to set it up pretty much however you want locally.

permalink
report
parent
reply
3 points
8 points

git checkout ma<tab>

If you don’t have autocomplete set up for your shell, get it working. If someone has a different branch named ma..., ask if you can delete it, and get your team to adopt a decent branch naming convention.

permalink
report
parent
reply
3 points
git checkout ma<tab>

mai_new_chenges 
march_deploy_second_final_final_fixed      
main_fixes       
mast_not_farget_to_delete_it
permalink
report
parent
reply
1 point

…yeah, I already said that if there is another branch starting with those letters it should be deleted. You need a naming convention.

permalink
report
parent
reply
2 points
*

I think the reasons was ridiculous. The fact that people didn’t like the word master anymore. But I’m used to it now, so fine, let’s use main. It makes sensitive people feel better.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.4K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments