【发布时间】:2018-12-31 19:25:33
【问题描述】:
我正在尝试为 Heroku 上托管的 git repo 的分支执行 git push(强制)。
不幸的是,经过长时间的等待,这将超时。我已经尝试了很多次,同样的504 GATEWAY_TIMEOUT 错误:
$ git push --force my-heroku-remote my-feature-branch:master
Counting objects: 12345, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12345/12345), done.
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 GATEWAY_TIMEOUT
fatal: The remote end hung up unexpectedly
Writing objects: 100% (12345/12345), 347.86 MiB | 98.00 KiB/s, done.
Total 12345 (delta 123), reused 1234 (delta 123)
fatal: The remote end hung up unexpectedly
Everything up-to-date
如何才能成功推送到这个遥控器?
【问题讨论】:
标签: git heroku deployment heroku-cli