error: src refspec test does not match any.

时间:2019-07-19 14:09:37   收藏:0   阅读:514

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

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!