GIT warning: remote HEAD refers to nonexistent ref, unable to checkout.
git branch //无输出
git branch -a //输出 feature
git checkout feature
git branch
//可以看到输出feature了,不再为空
git branch -m feautre master //重命名分支叫master
OK。
原创
2016-02-01 14:45:13 ·
644 阅读 ·
0 评论