5 ms·
Show HN: Script that changes GitHub default branches to master
- valerij 6y agodoing 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
- moeffju 6y agoWhy would you want to explicitly preserve racist terminology? What point are you trying to make?
- hackerman123469 6y agoPlease 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.
- andydevguy 6y agoWell said!
- Sverigevader 6y agoWhy do you connect everything in the world to racism? Isn't that the most counter productive thing you can do?
- arvigeus 6y agoIf 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.
- 112 6y agoI 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 6y agoNext: Ban using the term "executable", because it promotes violence. Seriously, this is a problem with the English language, not the software.
- gitgud 6y agoThe Readme could use a little more context as to why this is necessary. Did Github change the "master" branch to "main"?