【发布时间】:2019-08-01 08:52:36
【问题描述】:
我已经运行了以下代码,一切都很顺利:
git init
git add .
git commit —m 'name'
heroku create
但是当我运行这段代码时:
git push heroku master
我收到此错误:
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
【问题讨论】:
-
请先学习一些 Git 基础知识。当你运行这些命令时,你知道你在做什么吗?
-
虽然我没有使用 Heroku,但我想
heroku create里面没有像git remote add这样的东西。那么git push heroku master中“heroku”的引用为空。
标签: git heroku fatal-error