今天使用git clone时候 提示
经过测试解决办法如下
git branch -a
//显示 remotes/origin/test
git checkout remotes/origin/test
重新checkout
git项目文件便拉到文件目录了
warning: remote HEAD refers to nonexistent ref, unable to checkout
原文:https://www.cnblogs.com/oumi/p/10460796.html