【发布时间】:2016-03-26 13:12:51
【问题描述】:
Git push 到 heroku 指向一个不存在的 git 存储库。
git.heroku.com/secure-reef-1722.git 这是我们运行 heroku create 命令时创建的存储库。
但是当我们运行“push”命令($ git push heroku master)时,它会说
远程:!没有沸腾入口6957这样的应用程序。 致命:未找到存储库“https://git.heroku.com/boiling-inlet-6957.git/”
当我们运行 $ git remote -v
时,我们也无法看到新的存储库heroku https://git.heroku.com/boiling-inlet-6957.git (fetch) heroku https://git.heroku.com/boiling-inlet-6957.git (push) origin git@bitbucket.org:coderz$/toy_app.git (fetch) origin git@bitbucket.org:coderz$/toy_app.git (push)
现在我们无法将文件推送到新的 heroku git 存储库 (git.heroku.com/secure-reef-1722.git)
请帮助我们。提前致谢。
完整的命令序列
coderz$:~/workspace/toy_app (master) $ heroku create
Creating secure-reef-1722... done, stack is cedar-14
https://secure-reef-1722.herokuapp.com/ | https://git.heroku.com/secure-reef-1722.git
coderz$:~/workspace/toy_app (master) $ git push heroku master
remote: ! No such app as boiling-inlet-6957.
fatal: repository 'https://git.heroku.com/boiling-inlet-6957.git/' not found
coderz$:~/workspace/toy_app (master) $ git remote -v
heroku https://git.heroku.com/boiling-inlet-6957.git (fetch)
heroku https://git.heroku.com/boiling-inlet-6957.git (push)
origin git@bitbucket.org:coderz$/toy_app.git (fetch)
origin git@bitbucket.org:coderz$/toy_app.git (push)
coderz$:~/workspace/toy_app (master) $
【问题讨论】:
-
这个问题的解决方案是'Collin Graves'给this question的答案