git clone时,提示warning: remote HEAD refers to nonexistent ref, unable to checkout.

Posted creatorkou

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git clone时,提示warning: remote HEAD refers to nonexistent ref, unable to checkout.相关的知识,希望对你有一定的参考价值。

git show-ref 查看.git存储的分支

git checkout [分支名] 定位到某个分支即可

https://blog.csdn.net/whu_zhangmin/article/details/12040493

以上是关于git clone时,提示warning: remote HEAD refers to nonexistent ref, unable to checkout.的主要内容,如果未能解决你的问题,请参考以下文章