Creating branches on an empty project in git

后端 未结 3 1289
夕颜
夕颜 2020-12-23 19:12

Let\'s say I am about to implement 3 different features in 3 different files (fileA, fileB an fileC) for a new project of mine.

I thought I\'d just need to add my (c

3条回答
  •  孤城傲影
    2020-12-23 19:41

    You can do an empty initial commit with:

    git commit --allow-empty
    

    And then you can create your branches as you like.

提交回复
热议问题