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.
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.
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.
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.
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.
git checkout ma<tab>
mai_new_chenges
march_deploy_second_final_final_fixed
main_fixes
mast_not_farget_to_delete_it
…yeah, I already said that if there is another branch starting with those letters it should be deleted. You need a naming convention.