arowanda
arowanda

Reputation: 13

git push heroku: Could not read from remote repository

I couldn't find the exactly same problem so here is my question. I'm trying to deploy my app to heroku:

It says there is no pure-castle-7198 app because I deleted it a long time ago, the one I've created now is citadel-7201, so how can I push to this one?

Upvotes: 1

Views: 2443

Answers (2)

Palak Darji
Palak Darji

Reputation: 1114

Like iltempo said, your git remotes are creating troubles.. Try to delete Old remote and create new one... Check available git remotes: (from your app dir)

git remote -v

see if you find old remote.. delete it

git remote rm remoteName

create new remote if not available,

git remote add remoteName [email protected]:xxxx-xxxxxxxx-8745.git

Upvotes: 1

iltempo
iltempo

Reputation: 16012

Try setting the git remote to the correct repository. This may mess up if you are using the same repository clone.

git remote set-url heroku [email protected]:pure-citadel-7201.git

Upvotes: 3

Related Questions