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
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...
1
Replying to @hdv @stephenhay
The bit at the end of marc.info/?l=git&m=158872063… seems useful for changing the default locally.

Jun 8, 2020 · 7:17 PM UTC

2
1
Replying to @davidbaron @hdv
Perhaps the deepest solution for now. Though it won't solve you gh-pages issue.
though also seems a bit scary in that it seems like it would mean not picking up future updates (in newer git versions) to that directory
2
1
This is almost an advertisement for advocating configurable naming in tools.
1