3 ms·
Git isn’t GitHub. GitHub changed the default for GitHub, didn’t touch existing projects and made it optional for projects to switch.
by orf 2y ago
Git isn’t GitHub. GitHub changed the default for GitHub, didn’t touch existing projects and made it optional for projects to switch.
- Dylan16807 2y agoI didn't say they did anything to mainline git's source code. Hell, I didn't even say they accomplished their goal. I just criticized the goal, not just for github but for everyone else doing the same thing. And the goal is about git repos. Lots of those are on github, and lots of those are influenced by the things github did. TL;DR: Lots of people removed "master" from git repos.
- philipov 2y ago> Lots of people removed "master" from git repos. So because a lot of people chose to no longer use "master" in their git repos, it justifies an authoritarian rollback of science and health? No one cares what their git branches are called. Get that stupid chip off your shoulder and smell the fire. The country is burning.
- Dylan16807 2y agoWhat the hell are you talking about? I never made any comparison between those. (I sure hope you're not just complaining that I'm wasting words on it while more important things are happening in the world, because that's pure hypocrisy and applies to 99-100% of comments on this site. "Never do anything unimportant" is a terrible motto. So is "never complain about anything minor".)
- zzo38computer 2y agoYes, I think that it is good that they did not touch existing projects. (Much of the complaints (including my own complaints) when it was announced were due to ignorance of the working of git and of GitHub; once I learned how it is working then I do not have complaints about it.) Even for new projects, if you create a empty repository on GitHub and then send a repository from your own computer, it will work with whatever branch name you give it, at least in my experience (I had sent repositories with the only branch named "trunk" and it seems to cause no problems at all as far as I can tell). Neither git nor GitHub software cares what the branches are called as far as I know; I think they just changed the default settings if you are creating a repository using GitHub, but you are not required to use them. And, actually, I read the documentation and you can even make per-user settings on GitHub, and you can change the default branch name for git itself too (and, like in GitHub, this setting can also be changed in git). They also added the function to rename branches (you can rename any branch, not only the default branch), and they provide documentation about how this is working, so this is a side benefit of their work on this, in case it is sometimes useful to rename branches (although I think probably it is usually better not to rename existing branches, maybe sometimes it might be useful). Furthermore, "main" is shorter than "master", and starts with the same two letters; but in my opinion, these are minor benefits (although they are still beneficial anyways). However, even though I think this is good, this does not imply that all software that used "master" and changed it, were doing good. In many cases they weren't good, but git (and GitHub) isn't one of them that isn't good. The reasons why it is good or not good have to do with the existing working of the software and of working of names, and how the changes are being handled, and is not because of racism and stuff like that.