warning: remote HEAD refers to nonexistent ref, unable to checkout报错信息
作者:IT小白 | 2024-05-18 04:50:22
赞
踩
warning: remote head refers to nonexistent ref, unable to checkout
当进行git clone 新项目时,出现了报错信息warning: remote HEAD refers to nonexistent ref, unable to checkout。 此时是因为当前项目文件夹内没有指向分支,此时可通过指令git show -ref进行查看 此时只需要重新定位到分支即可 此时项目文件下载完毕