Heroku试图推送到另一个目录

时间:2012-04-30 18:22:18

标签: heroku

当我尝试推送到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知道在哪里找到它。

1 个答案:

答案 0 :(得分:1)

我认为你不能通过HTTP推送到Heroku。你应该有一个git: URL来推送(当你使用Heroku命令行工具创建应用程序时应该设置它)。