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

来源:互联网 发布:python编写购物车程序 编辑:程序博客网 时间:2024/05/16 15:10
git branch  //无输出

git branch -a //输出 feature


git checkout feature



git branch
//可以看到输出feature了,不再为空


git branch -m feautre master  //重命名分支叫master


OK。
0 0
原创粉丝点击