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


今天使用git clone時候 提示 

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

 

經過測試解決辦法如下

 

git branch -a 

//顯示 remotes/origin/test

git checkout remotes/origin/test

重新checkout

 

git項目文件便拉到文件目錄了

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM