Post AP8J4eYslDSolBZZPk by benpye@mastodon.social
(DIR) More posts by benpye@mastodon.social
(DIR) Post #AP868LHb58DWipusue by patricia@mastodon.social
2022-10-30T16:13:10Z
0 likes, 0 repeats
I didn’t think it would happen this fast, but now when I see a repo with a “master” branch instead of a “main” branch, I immediately check if it’s being maintained. The “master” branch name has become the “boomer branch” 😅
(DIR) Post #AP868LhTWuuw161YFU by freemo@qoto.org
2022-10-31T14:51:40Z
0 likes, 0 repeats
@patricia Huh, master is still the git default when creating a repo. Its only some services like github that have non-standard defaults... It seems new projects created using git on the command line (the way most pros do it) will still tend to use master over main.
(DIR) Post #AP868MyWn09TyH0gT2 by patricia@mastodon.social
2022-10-30T16:13:10Z
0 likes, 0 repeats
It’s the same with my own repos 🤣
(DIR) Post #AP87frbu0fCyUixik4 by musicmatze@social.linux.pizza
2022-10-31T07:18:10Z
0 likes, 0 repeats
@patricia I actually default to "master" on all my new repos...
(DIR) Post #AP87fs8W3PIQ7sDlZo by feld@bikeshed.party
2022-10-31T15:08:35.709315Z
0 likes, 0 repeats
the production branch is "landlord" and the development branch is "renter" except when the project is about medieval history where I use "lord" and "serf"
(DIR) Post #AP8J4eYslDSolBZZPk by benpye@mastodon.social
2022-10-31T16:40:23Z
0 likes, 0 repeats
@freemo @patricia you can change it with init.defaultBranch though!
(DIR) Post #AP8JDSZogodQCCD1fs by freemo@qoto.org
2022-10-31T17:18:16Z
0 likes, 0 repeats
@benpye You certainly can, but the overwhelming majority of new repos I find dont bother.. if they create it through github it has main, if they create it through the command line interface it has master.. besides that no one cares... Since most people use the command line interface for new repos I find the vast majority of new repos use master still.@patricia
(DIR) Post #AP8KLeZc4OM1fpaJZA by freemo@qoto.org
2022-10-31T17:30:43Z
0 likes, 0 repeats
@bjorn Just personal experience. Vast majority of pros seem to use git command line and not through a gui. They use github of course, but only as the server repository not to replace the command line. I dont think ive ever seen a pro actually edit or modify their git repo through the github web IDE thing.@patricia
(DIR) Post #AP8j1mu4qZDE6hbA8W by patricia@mastodon.social
2022-10-31T21:57:08Z
0 likes, 0 repeats
@freemo @bjorn Considering that I’ve been using git professionally mostly on the commandline for… 11-12 years (?) I think I qualify as a “pro”git config --global init.defaultBranch main
(DIR) Post #AP8jRDtZd2pr3oUWnI by freemo@qoto.org
2022-10-31T22:12:05Z
0 likes, 0 repeats
@patricia I wouldnt doubt you being in the "pro" group.. and perhaps your an exception as far as pros go WRT this practice. But the fact remains its exceedingly rare the pros seem to care enough to change from the default for no compelling reason. Usuallyt he type of people who use git tend to stick to the norm/standard/default unless there is a reason to change it. But as you point out, yes, you can change it to whatever non-standard default branch you wish.
(DIR) Post #AP8nuZnnermNDa2jCK by tamas@mstdn.social
2022-10-31T23:02:12Z
0 likes, 0 repeats
@freemo @patricia > (the way most pros do it):0171: :0230:
(DIR) Post #AP9Bi8yHzDxJQdYOLg by rreverser@mastodon.social
2022-11-01T03:28:53Z
0 likes, 0 repeats
@freemo @bjorn @patricia This has nothing to do with modifying repo through web IDE vs CLI.When *creating* repo on Github or GitLab, the default is `main`, so once you clone it to start working on it locally, that's what the main branch will be called.The only way you get the old / locally configured default is if you create repo locally first, then create it on the remote host, and then push & set upstream - but that's just more work compared to the approach above and hence less common.
(DIR) Post #AP9xdndo96XTuny5GS by freemo@qoto.org
2022-11-01T12:25:55Z
0 likes, 0 repeats
@rreverser Yes itt happens on creation. My point is usually people who use github to work with git are the ones seeing this.. The pros use the command line to work with git including creation of their repos..The reason i find local creation most common is because people dont usually create their github repo day one. I usually find people start working locally until a few commits in and only then create a github repo and push.Whatever the reason I just know I see master default branches on new projects far more often than I see main right now.@bjorn @patricia
(DIR) Post #APA2oWhZxtsIKrfNNA by rreverser@mastodon.social
2022-11-01T13:23:52Z
0 likes, 0 repeats
@freemo @bjorn @patricia > I usually find people start working locally until a few commits in and only then create a github repo and push.Sounds like people not taught by life to backup from the start.This whole exchange sounds a lot like https://xkcd.com/378/. You seem to be defining "pros" based not on their ability to keep up with changes in tech, but based on expectations of them using the "more technical" or "cooler" tools - from command line all the way to butterflies.
(DIR) Post #APA5xlc8Bv613NDRya by freemo@qoto.org
2022-11-01T13:59:11Z
0 likes, 0 repeats
@rreverser I am defining pro as a person who has expert level understanding of the git tool, nothing else. The fact that such people usually use the command line tool and not a web interface is secondary to that.@bjorn @patricia
(DIR) Post #APADioPGKHIN0HZoAK by bjorn@mastodon.social
2022-11-01T15:24:40Z
0 likes, 0 repeats
@freemo 1. I question your data samples.2. Being a “pro” might suggest you’re able config your env, but what do I know? 🤷Have a great day!
(DIR) Post #APADipEJGU81YbSZjU by freemo@qoto.org
2022-11-01T15:26:06Z
0 likes, 0 repeats
@bjorn Of course they **can** configure their environment.. As I said they usually dont want to as pros are stickler for standards, and right now master is the standard as defined by git itself.You seem to be missing the point ::shrug::
(DIR) Post #APAWy13tSEEHj5XqDY by patricia@mastodon.social
2022-11-01T19:00:59Z
0 likes, 0 repeats
@rreverser @freemo @bjorn “pros” know how to use git, and follow the project. Using “master” is legacy by now and imo a sign of inexperience and/or outdated practices.