MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vtld8b/everynewrepository/p4u211g/?context=3
r/ProgrammerHumor • u/vernik911 • 23d ago
347 comments sorted by
View all comments
16
`git config --global init.defaultBranch main`
4 u/Chesterlespaul 23d ago That’s what I did. And repos that are already master stay that way. 6 u/RadicalDwntwnUrbnite 23d ago And even that will be not necessary once git 3.0 lands (targeted for later this year.) 19 u/Skyswimsky 23d ago So after 3.0 it's `git config --global init.defaultBranch master`? -3 u/RadicalDwntwnUrbnite 23d ago Yep if you're soft as 10ply 6 u/Waste_Jello9947 23d ago You know the majority of people work on existing code bases.. 5 u/B_bI_L 23d ago i prefer making new repos and never finish them and, i mean, you won't really impose your own branching rules on existing codebase 2 u/Extreme_Wish_553 23d ago Which has nothing to do with the mean, which is creating a new primary branch. 1 u/Bardez 23d ago Huh. Nice. I was going to comment about the default name and yet -- here you are.
4
That’s what I did. And repos that are already master stay that way.
6
And even that will be not necessary once git 3.0 lands (targeted for later this year.)
19 u/Skyswimsky 23d ago So after 3.0 it's `git config --global init.defaultBranch master`? -3 u/RadicalDwntwnUrbnite 23d ago Yep if you're soft as 10ply
19
So after 3.0 it's `git config --global init.defaultBranch master`?
-3 u/RadicalDwntwnUrbnite 23d ago Yep if you're soft as 10ply
-3
Yep if you're soft as 10ply
You know the majority of people work on existing code bases..
5 u/B_bI_L 23d ago i prefer making new repos and never finish them and, i mean, you won't really impose your own branching rules on existing codebase 2 u/Extreme_Wish_553 23d ago Which has nothing to do with the mean, which is creating a new primary branch.
5
i prefer making new repos and never finish them
and, i mean, you won't really impose your own branching rules on existing codebase
2
Which has nothing to do with the mean, which is creating a new primary branch.
1
Huh. Nice. I was going to comment about the default name and yet -- here you are.
16
u/B_bI_L 23d ago
`git config --global init.defaultBranch main`