• piccolo@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    The change still annoys me at times as the default to git is still master. Its the hosted git (Github, Gitlab, etc) repos that default to main. And on occasion I get reminded this when I push a local initialized repo to them…

    • Melmi@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 day ago

      That’s configurable since Git 2.28. You can change init.defaultBranch to main or trunk or whatever you want.