【问题标题】:Git push heroku master does nothingGit push heroku master 什么都不做
【发布时间】:2012-11-07 13:25:51
【问题描述】:

我在 Windows 7 上。

我在那里关注了 heroku 上的文档:https://devcenter.heroku.com/articles/nodejs

当我执行时

git push heroku 大师

它完全没有任何作用,我没有收到任何错误。我试图重新生成我的 ssh 密钥,删除所有内容并再次执行此操作。总是一样的。

很抱歉提供这么少的信息,但由于我没有错误消息,我真的很难弄清楚......

【问题讨论】:

  • 到目前为止,教程中的所有内容都正常工作吗?在那之前,所有的输出都和你预期的一样吗?
  • 运行 git remote 并查看列出了哪些遥控器
  • 请附上你的 .git/config。检查 heroku repo 配置。

标签: node.js heroku


【解决方案1】:

如果其他人有这个问题,我的问题是我没有从本地 master 分支推送到 heroku/master。您必须从本地 master 分支推送到 heroku/master 或运行命令

git push heroku yourbranch:master

这是来自 heroku 文档 here

【讨论】:

    【解决方案2】:

    好的。 SSH 密钥问题。因此,如果您在窗口上没有错误消息,请尝试按照此说明手动重新创建您的 ssh 密钥,它将起作用。 Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

    【讨论】:

      猜你喜欢
      • 2013-06-11
      • 2011-05-23
      • 2011-08-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-21
      • 2013-02-03
      相关资源
      最近更新 更多