• huginn@feddit.it
    link
    fedilink
    arrow-up
    0
    ·
    7 个月前

    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.

    • maynarkh@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      7 个月前

      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.

      • zalgotext@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        7 个月前

        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.