Reputation: 3110
I'm a newbie and i want to clone an app from github to heroku. I tried this command
heroku git:clone [email protected]:[Creator]/[APPname].git [HerokuappDirectory]
But i get Resource Not Found
.
Upvotes: 2
Views: 2604
Reputation: 11342
Clone the repo like normal with git clone git@github...
. Then cd into the directory and run heroku create [an optional app name]
. Then you'll have two Git remotes setup, on for the repo (origin), one for the heroku app(heroku). Then 'git push heroku master' will deploy to heroku.
Upvotes: 6