Why isn't main
the default branch?
#414
Unanswered
MunifTanjim
asked this question in
Q&A
Replies: 1 comment 6 replies
-
The reason is that the default branch determines what README is shown, and what is cloned when someone does not specify a branch. In both cases I want that to be the current release and not the development branch that may have bugs or reference unreleased features. There are 1000x more users than contributors, so it makes sense to make their experience the base case. Note: The number 1000x is a completely made up guess, but you get the point. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wouldn't it make sense to have the development branch (i.e.
main
) as default?Creating a new PR defaults to the
v2.x
branch. Contributors need to manually change that.The general practice is to have the development branch as default. And if somebody wants to pin to a specific version they can do so in their config file.
Beta Was this translation helpful? Give feedback.
All reactions