我想推动并得到错误:src refspec master不匹配任何 [英] I want make push and get error: src refspec master does not match any

查看:125
本文介绍了我想推动并得到错误:src refspec master不匹配任何的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Heroku上托管。我想推一下:

  git push master Heroku 

我得到以下消息:

 错误:src refspec master not匹配任何。 
错误:无法将一些文件推送到'git@heroku.com:etc ...'


解决方案

这是我的工作: - $ / b>

  git push heroku HEAD:master 


I'm hosting on Heroku. I want to make a push:

git push master Heroku

I gets the message:

error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com: etc ...'

解决方案

This is work for me:-

git push heroku HEAD:master

这篇关于我想推动并得到错误:src refspec master不匹配任何的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆