Reputation: 4848
I checked out a project on github and now wish to deploy to heroku. When I enter 'heroku apps' it displays all the apps on my account. How can I tell which app I'll push to when I run
git push heroku master
Thanks, Gearoid.
Upvotes: 0
Views: 315
Reputation: 6857
git remote add heroku [email protected]:your-app.git
git push heroku master
Upvotes: 1
Reputation: 222168
You can view the url of heroku
remote on the current repo by doing
git remote -v
Upvotes: 0
Reputation: 13972
Set up a heroku git remote - the General Info of the app on Heroku will list a git path
Set it up by, in your Git directory on your machine:
$ git remote add heroku (THAT URL)
then git push heroku master will know where to do
Upvotes: 0