Create empty branch on GitHub

前端 未结 4 812
闹比i
闹比i 2020-12-22 16:31

I want to create a new GitHub branch, called release.

This branch needs to be empty! However, there is an existing branch with x commits

4条回答
  •  [愿得一人]
    2020-12-22 16:37

    You can also follow the instructions here to create an empty commit at the root of your master branch. Then just create your release branch where that empty root commit is.

提交回复
热议问题