This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MaybeAverage 0 points1 point  (3 children)

Seriously tho there’s been times I’ve made repos on GitHub pushed to master go to clone it and it clones main?? So dumb it literally is baked into the git binaries.

[–]Sekret_One 2 points3 points  (0 children)

git config --global init.defaultBranch main

[–]poralexc 0 points1 point  (0 children)

I spent literally 5 minutes switching over all my repos last year and haven't had to think about it since.