0

I'm trying to redeploy this app https://github.com/Arepo/rails-blog on Heroku, which I haven't touched in a couple of years. I had a warning that I needed to update Cedar-14, so I went through the Upgrading an app steps here

But when I input git push heroku master, I just get the following error message:

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.

What's going wrong? I wasn't expecting 'heroku' to be a git repo, or at least not one of mine...

Arepo
  • 825
  • 1
  • 9
  • 23
  • Does `git remote -v` show a remote named `heroku`? _"I wasn't expecting 'heroku' to be a git repo"_ - you were trying to do a git push to it... – jonrsharpe Jul 30 '21 at 16:36

1 Answers1

0

I had forgotten that I needed to re-add the app on this laptop as a Git remote, with heroku git:remote -a <appname>

Arepo
  • 825
  • 1
  • 9
  • 23