当前位置:   article > 正文

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

warning: remote head refers to nonexistent ref, unable to checkout.

今天使用git clone时候 提示 

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

 

经过测试解决办法如下

 

git branch -a 

//显示 remotes/origin/test

git checkout remotes/origin/test

重新checkout

 

git项目文件便拉到文件目录了

 

转载于:https://www.cnblogs.com/oumi/p/10460796.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/586752
推荐阅读
相关标签
  

闽ICP备14008679号