WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

(post is archived)

[–] 0 pt (edited )

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

[–] 0 pt

Ah, roger. So you see?

My company still uses "master" as well. I think everyone does because they don't care except new repos. Sometime in the future, we will all use "main." I will make a company that uses "niggerfaggot."

If your company is going to use main for the convivence, make sure you set the default branch to master in Github settings. In Visual studio code, delete main branch, and create a new branch and name it master, then whenever you stage, and commit you commit to the master branch. Don't let them to win at least without a tough fight.