簡體   English   中英

goo pre-receive hook因heroku而拒絕

[英]git pre-receive hook declined with heroku

我已經陷入了與heroku的混亂。 我正在部署一個Wordpress PHP應用程序,基本上在主題目錄中有一大堆git repos,加上我從github項目中克隆的父主題。 我成功部署了Wordpress,但是git忽略了已經在他們單獨的repos中跟蹤的主題,所以我回去並將主題復制到不同的目錄,以便不會跟蹤它們,並刪除.git文件夾。

我的問題是,在執行此操作后,Heroku不會讓我做一個git push heroku master ,但會回復此錯誤消息:

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 -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:....git'

我已經嘗試過git pull heroku master ,這讓我“已經是最新的了”。 我也嘗試添加-f標志,但這也不起作用。 有時拒絕Heroku中的應用程序。

有任何想法嗎?

編輯:

我也嘗試過這里的建議: 未能將一些參考文獻推送到git@heroku.com:myapp.git

包括從heroku / master創建一個新分支,然后立即將它推送到heroku。 它失敗。

我在Heroku的git基礎設施上工作。 為了將來參考,這些通常是我們監控的服務級別問題,但可能是您的情況所特有的。 最好查看https://status.heroku.com ,或在https://support.heroku.com上提交票證。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM