我在将主分支推送到Heroku以部署我的Heroku应用时遇到了麻烦。
当我键入以下代码时:
git push heroku master
我遇到了这个错误:
error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com:evening-scrubland-91960.git'
git@heroku.com:evening-scrubland-91960.git
是我的应用程序名称。
如果有帮助的话,我正在使用这个网站作为教程: https://devcenter.heroku.com/articles/getting-started-with-python#deploy-the-app
我还从以下网站中获得了以下建议: 我想进行推送并得到错误:src refspec master does not match any