300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > warning: remote HEAD refers to nonexistent ref unable to checkout.

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

时间:2020-07-19 03:36:35

相关推荐

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

在clone项目的时候出现如下警告信息:

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

项目目录clone下来了,但是点进去什么文件也没有,说明你的项目地址没有master分支。

可以用git branch -a查看远程仓库的分支有哪些?

切换到Branch_stable-it分支,项目就有代码了。

git checkout Branch_stable-it

【注】如果git branch -a不显示分支,则可参考 git clone非master分支代码

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。