Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Update to Git changes the default of init.defaultBranch to main. Parent comment
It would be helpful if git threw a descriptive error when trying to check out 'master' if it doesn't exist, and is not set to the default branch.
There are no comments on this comment yet.
It would be helpful if git threw a descriptive error when trying to check out 'master' if it doesn't exist, and is not set to the default branch.