【发布时间】:2015-04-22 21:24:08
【问题描述】:
我在 Heroku 上有几个应用程序,没有出现过这个问题,但我突然在运行 git 时遇到了问题。现在我无法将我的应用程序部署到 Heroku。当我跑步时
git push heroku master
我得到以下信息:
fatal: unable to access 'https://git.heroku.com/<herokuappname>.git/': Could not resolve host: (nil); nodename nor servname provided, or not known
当我跑步时
git remote -v
我得到以下信息:
heroku https://git.heroku.com/<herokuappname>.git (fetch)
heroku https://git.heroku.com/<herokuappname>.git (push)
我已经查看了所有内容。请帮忙,谢谢。
【问题讨论】:
-
你检查过this thread 吗?它与 heroku 无关,但也存在无法连接到 git repo 的问题,这似乎是根本问题。