Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDefault to main and then master #698
Comments
|
@IlanCosman Very valid and great points. Due to legacy issues, we need to find a good way to check the repository and look for source branches. I need to take a look and see the insides and how this could be easily achieved. If you have some cycles, maybe you can take a look and see if it could be an easy fix as well :) Thanks |
|
It seems like it should be fairly easy, but I'm sure I'm missing something. I forked the repo and changed I'm not sure how to test my changes elsewhere. I suppose I'd have to set up a dockerhub account, publich my image, and then try using it in another repository with various silly default branches? |
|
Oh, no it seems to work with |
|
After a bit of testing I realize that I don't understand what the |
Is your feature request related to a problem? Please describe.
Following the guidance of github, many developers are moving to
mainas their default branch. Saving developers from the very small hindrance of usingDEFAULT_BRANCH: mainwould contribute to smoothing the transition.Describe the solution you'd like
The default branch should be
main. If it does not exist, usemaster, given that many repositories will continue using this name.