what determines default branch when cloning from git bare repository
问题 I'm trying to change the default branch when cloning from a git bare repo using git 1.8.3.1 from yum install. I had always assumed that the way to do this would be to change the reference inside the HEAD file of the remote repo, and several SO answers seem to confirm this. However, I'm finding the value of HEAD in the remote bare repo to have no effect . Even though my remote repo has this value in HEAD: ref: refs/heads/secondbranch I'm still defaulted to firstbranch branch when I clone! Any