It sounds way less offensive to those who decry the original terminology’s problematic roots but still keeps its meaning intact.

  • @[email protected]
    link
    fedilink
    13 months ago

    …which you get a multiline message telling you to change your ways (Linus doesn’t break UX)…every time you init…weird.

    $ git init
    hint: Using 'master' as the name for the initial branch. This default branch name
    hint: is subject to change. To configure the initial branch name to use in all
    hint: of your new repositories, which will suppress this warning, call:
    hint:
    hint: 	git config --global init.defaultBranch <name>
    hint:
    hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
    hint: 'development'. The just-created branch can be renamed via this command:
    hint:
    hint: 	git branch -m <name>
    
    • @[email protected]
      link
      fedilink
      33 months ago

      Gonna be honest, I don’t think I ever read that. I think I usually just do git status immediately after to see if all’s well.