error: src refspec test does not match any.

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

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

錯誤的緣由是遠程並無test分支,咱們須要將在本地建立分支的信息推送到github上github

git push origin HEAD -u

能夠到github看一下
shell

相關文章
相關標籤/搜索