gpt4 book ai didi

wordpress - git pre-receive hook 拒绝 heroku

转载 作者:太空狗 更新时间:2023-10-29 13:27:40 27 4
gpt4 key购买 nike

我已经把 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 中的应用程序。

有什么想法吗?

编辑:

我也试过这里的建议:failed to push some refs to git@heroku.com:myapp.git

包括从 heroku/master 创建一个新分支,然后立即将其推送到 heroku。它失败了。

最佳答案

我在 Heroku 的 git 基础设施上工作。为了将来引用,这些通常是我们监控的服务级别问题,但可能因您的情况而异。最好查https://status.heroku.com ,或在 https://support.heroku.com 提交工单.

关于wordpress - git pre-receive hook 拒绝 heroku,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15867140/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com