warning: remote HEAD refers to nonexistent ref, unable to checkout

前端 未结 11 1038
没有蜡笔的小新
没有蜡笔的小新 2020-12-01 00:50

This seems like a popular error for different causes.

I\'ve got a simple bare git repo called \"kiflea.git\", I clone it like this:

git clone git://k         


        
11条回答
  •  春和景丽
    2020-12-01 01:01

    I seemed to fix it with:

    git checkout -b  master
    git push
    

    This created the default master, and then I could checkout my other branches

提交回复
热议问题