github got rid of the default "master" repository. It's now "main." The "Master" name made the two black developers in the world cry.
I didn't see any popular open source program had changed their main repository's name to main. I even use master.
Taken from today's "Quick Setup" on github ...
…or create a new repository on the command line
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/[my name]/[whatever I named it].git
git push -u origin main
…or push an existing repository from the command line
git remote add origin https://github.com/[my name]/[whatever I named it].git
git branch -M main
git push -u origin main
(Text modified for non-doxxing and readability) ... Notice anything? Anyone is welcome to validate if he thinks I am lying / making this shit up.
E: One more edit. Fuck, had to anon the extremely common repo name. 4/8/infinity chan would have doxxed me on that based on timestamp.
yeah. New programs are forced to use main, but I refuse to use main for ridiculous reasons. in fact I set the default branch to master in settings. xD
(post is archived)