git, Heroku: pre-receive hook declined

后端 未结 15 2844
时光取名叫无心
时光取名叫无心 2020-12-09 02:33

I am in the process of setting up a git repository and attempting to link it to Heroku. When I run the command

git push heroku master

I rec

15条回答
  •  温柔的废话
    2020-12-09 03:05

    i thought , this will not be the error occured due to any app , or code changes. i have same problem now this happen due to the following reason:

    • 1) i have code on bitbucket/git i push the code to repository (this repo is linked with the heroku app,meanse changes to this will reflects on heroku)
    • 2)after pushing code to repo , i am trying to push code on heroku with "git push heroku master" but due to some reason i abort this command, thats why code is not pushed to heroku

    • 3)then i am agian triyng to push code to heroku it says same error
      as above

    • 4) the solution for this is "just pull yours last commited code" and push the changes to heroku ..thats it thanks

提交回复
热议问题