Stamets@lemmy.world to 196@lemmy.blahaj.zoneEnglish · edit-21 个月前trans rule (cw: slur)NSFWlemmy.worldimagemessage-square42linkfedilinkarrow-up1427arrow-down113
arrow-up1414arrow-down1imagetrans rule (cw: slur)NSFWlemmy.worldStamets@lemmy.world to 196@lemmy.blahaj.zoneEnglish · edit-21 个月前message-square42linkfedilink
minus-squarepiccolo@sh.itjust.workslinkfedilinkEnglisharrow-up2·1 个月前The change still annoys me at times as the default to git is still master. Its the hosted git (Github, Gitlab, etc) repos that default to main. And on occasion I get reminded this when I push a local initialized repo to them…
minus-squareMelmi@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1arrow-down1·1 个月前That’s configurable since Git 2.28. You can change init.defaultBranch to main or trunk or whatever you want.
The change still annoys me at times as the default to git is still master. Its the hosted git (Github, Gitlab, etc) repos that default to main. And on occasion I get reminded this when I push a local initialized repo to them…
That’s configurable since Git 2.28. You can change
init.defaultBranch
to main or trunk or whatever you want.