git – 我想要make push并得到错误:src refspec master不匹配任何

我正在Heroku上主持。我想推动一下:

git push master Heroku

我收到消息:

error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com: etc ...'
这对我有用: –

git push heroku HEAD:master
https://stackoverflow.com/questions/26595874/i-want-make-push-and-get-error-src-refspec-master-does-not-match-any

转载注明原文:git – 我想要make push并得到错误:src refspec master不匹配任何