Impossible to set Default Branch on repo with one non-master branch
Created by: jmontleon
GitLab: 6.6.4
Create a new project, defaultbranchtest git clone git@$hostname:$user/defaultbranchtest.git cd defaultbranchtest/ git checkout -b foo echo 123 > README git add README git commit -m "initial commit" . git push --set-upstream origin foo
Try over and over and over in the WebUI to set the Default Branch to foo but HEAD still reads: ref: refs/heads/master
git branch bar git checkout bar git push --set-upstream origin bar
Now in the UI I can switch between branches and HEAD gets updated.