アプリを 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 キーはすでに持っています。
ベストアンサー1
Heroku アプリを Git リモートとして追加するには、 を実行する必要がありますheroku git:remote -a yourapp
。
ソース:Git を使ったデプロイ