Hard to imagine the defense of keeping "master" instead of "main" in git repos due to "cost of change". We just watched two guys fly into space and a rocket *that landed itself onto a boat*. You can change your default git branch.
3
11
4
66
Replying to @stephenhay
Has anybody requested that git allow configuring the default? (What was the reaction?) As I understand it, currently the name "master" is hardcoded in the C code for what happens when you create a new repository. Changing that default would would have a larger effect...

Jun 8, 2020 · 6:11 PM UTC

1
Replying to @davidbaron
Sorry for not being clear, I meant for renaming the default on one's own repo.
1
Yeah, I understood, I'm just wondering about doing more, and also configuring git so I don't have an extra step every time I make a new repo...
1
This tweet is unavailable
The bit at the end of marc.info/?l=git&m=158872063… seems useful for changing the default locally.
2
1