remote rejected master -> master (pre-receive hook declined)

后端 未结 21 1927
我在风中等你
我在风中等你 2020-11-30 01:31

I\'m working in rails 3.2 and I receive an error when I try to push to heroku:

 git push heroku master
Counting objects: 496, done.
Delta compression using u         


        
21条回答
  •  野性不改
    2020-11-30 02:12

    I got the same error when I ran git status :

    $ git status
    On branch master
    Your branch is ahead of 'origin/master' by 1 commit.
      (use "git push" to publish your local commits)
    nothing to commit, working directory clean
    

    To fix it I can run:

    $ git push and run 
    $ git push heroku master
    

提交回复
热议问题