News for hackers. Stuff that matters.
Re:Steven Spielberg: ‘No film should be revised’ based on mo... by freedomben on Thursday April 27, 2023 @12:19PM (#35730395)
Yep, this has been a constant pain point for me nearly every day. Having dozens of repos I work in across multiple organizations, where half follow the old convention (master) and the other half follow new (main), when I want to switch branches I usually have to do it twice. First `git co main` and if that doesn't work, `git co master`. Vice versa doesn't work because older repos that have been converted have a master branch! It's usually way behind. There are also tons of scripts and CI/CD yaml everywhere that has to be modified for main vs. master.

Main is a better name IMHO (increased clarity and brevity) but it is far from "zero downside."

Re:Steven Spielberg: ‘No film should be revised’ based on mo... by bombcar on Thursday April 27, 2023 @12:29PM (#35730566)
It should have been built into the client so that if a co of main fails, it tries master. But that would be too easy.