I want make push and get error: src refspec master does not match any
问题 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 ...' 回答1: This is work for me:- git push heroku HEAD:master 回答2: I have expericed the problem you have. I solved this problem like this make file whatever commit push $ touch readme $ git add . $ git commit -m "init" $ git push heroku master I don't know why. 回答3: At first glance it looks like you have