Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

master isn't a special branch right?

Like I know some projects set their default branch as develop.

Also the set upstream command, that let's you have a local branch name different from remote, right?



"master" is a special name. For one, it's the branch that git will initially check out after you clone a repository.


No, git checks out whatever branch the remote points HEAD to




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: