Note that there are some explanatory texts on larger screens.

plurals
  1. POgit pre-receive hook declined with heroku
    text
    copied!<p>I've gotten myself into a mess with heroku. I'm deploying a Wordpress PHP app, and basically had a whole bunch of git repos in the theme directory, plus the parent theme which I cloned from a github project. I deployed Wordpress successfully, but git was ignoring the themes that were already tracked in their separate repos, so I went back and copied the themes to a different directory so that they wouldn't be tracked, and deleted the .git folders.</p> <p>My issue is that after doing this, Heroku won't let me do a <code>git push heroku master</code>, but kicks back this error message:</p> <pre><code>Writing objects: 100% (972/972), 2.73 MiB | 76 KiB/s, done. Total 972 (delta 46), reused 0 (delta 0) ! Heroku push rejected due to an unrecognized error. ! We've been notified, see http://support.heroku.com if the problem persists. To git@heroku.com:....git ! [remote rejected] master -&gt; master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:....git' </code></pre> <p>I've tried <code>git pull heroku master</code>, which gives me "Already up-to-date." I've also tried to add the <code>-f</code> flag, but that doesn't work either. Sometime is rejecting the app within Heroku.</p> <p>Any ideas?</p> <p><strong>EDIT:</strong></p> <p>I've also tried the suggestions here: <a href="https://stackoverflow.com/questions/9831129/failed-to-push-some-refs-to-githeroku-commyapp-git">failed to push some refs to git@heroku.com:myapp.git</a></p> <p>including creating a new branch from heroku/master and then pushing it immediately to heroku. It fails.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload