繁体   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