1
votes

I deployed to heroku: git push heroku master

then I try: heroku run rake db:migrate but it's show this issue:

error: src refspec logs does not match any.
error: failed to push some refs to '[email protected]:appname.git'

Please help me solved this issue.

3

3 Answers

0
votes

You propably just need to commit first:

git commit -m "something"

Supposing you have added files for staging.

0
votes

Try deploy with git push -f [email protected]:appname.git

0
votes

this is stupid issue. I have the issue same you. I add alias on .bashrc file. alias heroku = 'git push heroku master'. this is reason when you run heroku always show this issue. remove this line. I'm sure it will solved your issue.