Settings

Theme

Show HN: Script that changes GitHub default branches to master

github.com

26 points by danpetrov 6 years ago · 11 comments

Reader

arvigeus 6 years ago

Next: Ban using the term "executable", because it promotes violence.

Seriously, this is a problem with the English language, not the software.

valerij 6 years ago

doing a full clone just to change a branch name seems a bit wasteful.

    git init
    git remote add origin ...
    git push origin (git ls-remote origin | grep "refs/heads/master" | cut -f1 ):master
should be enough
gitgud 6 years ago

The Readme could use a little more context as to why this is necessary. Did Github change the "master" branch to "main"?

moeffju 6 years ago

Why would you want to explicitly preserve racist terminology? What point are you trying to make?

  • hackerman123469 6 years ago

    Please tell me how the word "master" is inherently racist unless you make it so.

    Is a masters degree racist? Is a master bedroom racist? Is a master track racist?

    The list goes on.

    It's only racist because you make it so.

    It's almost as stupid as feminists pushing their stupid agenda that everything that contains the word "man" is bad.

  • 112 6 years ago

    I find "banning" perfectly fine words, that everyone understands, because they offend some people / are used by some to offend people, utterly stupid. And it goes beyond words, such as what happened with VSCode's Santa Hat flamewar.

    We are incredibly lucky to be a part of this miracle called life. We don't have much time here. It doesn't need to have a purpose, but if you do choose to have a purpose in life, it shouldn't be coming up with ways of "getting offended".

    It makes sense to get offended by someone, but to get offended by this-month's-offending-word is a waste.

    It's very sad that companies listen to and are afraid of the swarms of internet flamers that have nothing better to do with their time.

  • arvigeus 6 years ago

    If this was a racist thing, why for 15 years no one complained about it until now? Linus Torvalds created git. He also made Linux. Should we stop using Linux because it was apparently made by a fascist bigot?

    If we are forced to stop using certain words because some idiots attached negative meaning to them, then the racists won.

  • Sverigevader 6 years ago

    Why do you connect everything in the world to racism? Isn't that the most counter productive thing you can do?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection