Change Default branch in gitlab

前端 未结 13 2152
[愿得一人]
[愿得一人] 2020-12-07 19:35

I accidentally pushed my local master to a branch called origin on gitlab and now it is the default. Is there a way to rename this branch or set a new master branch to maste

13条回答
  •  春和景丽
    2020-12-07 20:12

    In 8.0+ it looks like this was moved into the project. If you open your project and go to the gear icon on the right, then "Edit Project" you can set the default branch for the project.

提交回复
热议问题