Tell HN: Main/master debacle still hurts 7 years later

Every day I have to spend time figuring out for a given repo what the default branch is.

I hope somebody learned a lesson.

7 points | by lostmsu 1 day ago

2 comments

  • Bender 1 day ago
    One [1] possible solution. There are a bunch of threads/comments on HN about this as well but some of them can stir up ugly debates so I will let you find them in the search function.

    [1] - https://stackoverflow.com/questions/66232497/git-alias-which...

  • verdverm 1 day ago
    How hard is it run a command to ask the default branch, or to ask your ai? There are many more default branch names people use besides these two.
    • lostmsu 1 day ago
      It adds up if you have to do it daily