News for hackers. Stuff that matters.
Re:The default branch for newly-created repositories is now ... by postalrat on Thursday October 01, 2020 @02:50PM (#24654718)
"The default branch name for new repositories is now main"... why not call it default?
Re:The default branch for newly-created repositories is now ... by twic on Thursday October 01, 2020 @03:06PM (#24654955)
That would involve admitting that Mercurial got it right fifteen years ago.
Re:The default branch for newly-created repositories is now ... by otachack on Thursday October 01, 2020 @02:54PM (#24654779)
One beauty of git is you can call your default branches whatever you want. You just may need an extra step or two in setup based on the repo host service.
Re:The default branch for newly-created repositories is now ... by sebazzz on Friday October 02, 2020 @05:42PM (#24667314)
Usually it is done by setting origin/HEAD.