2 ms·
Out of curiosity, how did this affect you? This is only an issue the very first time you set up a repo, no? As soon as you push 'master' to an empty GitHub proj
by a2800276 4y ago
Out of curiosity, how did this affect you? This is only an issue the very first time you set up a repo, no? As soon as you push 'master' to an empty GitHub project, that becomes the default branch. And if you clone a repo there is no expectation from the local git that a branch with any particular name exists. What am I missing?
- smcl 4y agoYou're missing nothing, it's a non-issue. You can use master or main and neither git nor GitHub care, employers might have some guidelines but they generally have a bunch of things like coding conventions, codes of conduct or other office policies designed to make workplaces somewhere you can actually work without, for example, worrying about colleagues saying or doing hateful, racist or sexist shit
- yieldcrv 4y agoAffect? I just like congruence. I often use the push instructions that a new empty github project prompts, and do it frequently enough that I want my system defaults to match those instructions. Its not important to me to know that my system could overwrite those instructions successfully because "master" or whatever my local branch is called can be written into the command line. Its not important to me that "main" is a contrived replacement for "master".