error: src refspec test does not match any.


我在本地創建了新分支test並提交到github上
錯誤信息如下:

error: src refspec test does not match any.
error: failed to push some refs to 'https://github.com/itbsl/admin.git'

錯誤的原因是遠程並沒有test分支,我們需要將在本地創建分支的信息推送到github上

git push origin HEAD -u

可以到github看一下


免責聲明!

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



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