1

当我尝试推送到 Heroku 时,谁能告诉我为什么会出现此错误

fatal: http://mbartonsampleapp.heroku.com//info/refs not found: did you run git update-server-info on the server?

为什么已将其添加到我//info/refs 想访问http://mbartonsampleapp.heroku.com的目录中。有没有办法可以将我的目录更改回来,以便 Heroku 知道在哪里可以找到它。

4

1 回答 1

1

我不认为你可以通过 HTTP 推送到 Heroku。您应该有一个git:要推送到的 URL(当您使用 Heroku 命令行工具运行创建应用程序时应该已经设置了该 URL)。

于 2012-04-30T19:11:59.133 回答