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

前端 未结 11 1049
没有蜡笔的小新
没有蜡笔的小新 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:04

    Even though this error was displayed - my project was still connected to the corresponding repository - I ran the git branch command and saw the appropriate branches - then I ran git checkout *branchname and BOOM - all was well.

提交回复
热议问题