当我尝试将我的应用程序推送到 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 密钥。
要将 Heroku 应用添加为 Git 远程,您需要执行heroku git:remote -a yourapp
.
Source: 使用 Git 进行部署 https://devcenter.heroku.com/articles/git
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)