码迷,mamicode.com
首页 > 其他好文 > 详细

error: src refspec test does not match any.

时间:2019-07-19 13:59:48      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:code   head   原因   远程   led   src   shell   tps   spec   

我在本地创建了新分支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看一下
技术图片

error: src refspec test does not match any.

标签:code   head   原因   远程   led   src   shell   tps   spec   

原文地址:https://www.cnblogs.com/itbsl/p/11212806.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!