• 0x01@lemmy.ml
    link
    fedilink
    arrow-up
    28
    arrow-down
    3
    ·
    4 days ago

    The default branch for some projects is “production” since CD deploys on pushing to that branch

    For new projects, main. My thought is that even if master is not offensive, since the industry has generally made the change, the only reason to stick with master is stubbornness or hating political correctness, neither of which aligns with my self-view so I’ll use main and move on.

    In general if people are genuinely hurt by the use of some words, I’m not sadistic so I’ll avoid using them. From my perspective morality is the pursuit of the reduction of suffering, even if that suffering is internal.

    • monkeyslikebananas2@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      4 days ago

      Don’t forget laziness. I have some projects that have been around forever and I am not changing it across my infra because I am lazy. I will do it next year…

    • Miaou@jlai.lu
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      3 days ago

      Do you have any evidence that “the industry” has made the change? My personal experience says the opposite. Unless you mean “new repositories use the new default name” which says more about people simply not caring rather than anything else.

    • cley_faye@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      In general if people are genuinely hurt by the use of some words, I’m not sadistic so I’ll avoid using them

      That’s a sane position. Only issue is that this have nothing to do with the question, and the people that were the most vocal about this issue had no business talking about it in the first place.

      Ultimately, git is flexible; beyond some potential local and shared automation, anyone can call their local branches however they want, regardless of other and servers. Personally, changing years of habits and tooling (that probably should not have hardcoded some names in the first place) is not worth following a change proposed by misled people.