Change Default branch in gitlab

前端 未结 13 2213
[愿得一人]
[愿得一人] 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:09

    To change the default branch in Gitlab 7.7.2:

    • Click Settings in the left-hand bar
    • Change the Default Branch to the desired branch
    • Click Save Changes.

提交回复
热议问题