当我尝试将我的应用程序推送到Heroku时,我收到以下响应:
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.
我已经尝试过使用'heroku keys:add',但仍然出现相同的结果。 我的 GitHub 帐户已经有一个 SSH 密钥。
git remote -v
的输出,了解你设置了哪些远程仓库。 - John Beynonheroku git:remote -a <yourapp>
命令添加它,然后就可以继续了。 - Kibiku Brian