Git repository created without a master branch

前端 未结 3 1913
深忆病人
深忆病人 2020-12-24 13:13

I want to create a new shared git repository for a new project (on a VM).

I ran git --bare init from /.../git/new_proj.git, but a master br

3条回答
  •  死守一世寂寞
    2020-12-24 13:28

    i have same issue and fixed - first of all use git add command after that use commit command finally use git branch to show your branched my git version 1.9

    git add -A
    git commit -m "initialize"
    git branch
    

提交回复
热议问题