Reputation: 1090
I have recently moved my app from a linux machine to windows, and I am trying to set it up with heroku again. There are problems with my keys, so I am just wanting to push the app up as a brand new app.
I do, git init
, then git add .
, then git commit -m "init"
, and now I do heroku create
.
I want to just push my folder up to the new app cedar, but everytime I run git push heroku master
is tries to push to the old one, and an error flags as my keys don't match.
Anyone have any ideas? Thanks
Upvotes: 1
Views: 117
Reputation: 5169
It seems that you're calling heroku apps:create
wrongly? Take a look at the documentation here.
Also, the deployment documentation might be more useful for you if you already have a git repository setup.
Upvotes: 0
Reputation: 4875
Execute heroku auth:logout
to logout, then heroku auth:login
to login again.
To read full help message, try
heroku help
heroku auth
Upvotes: 1