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

git branch -a

//显示 remotes/origin/test

git checkout remotes/origin/test

重新checkout

你可能感兴趣的:(warning: remote HEAD refers to nonexistent ref, unable to checkout.)