I checked out a project on github and now wish to deploy to heroku. When I enter开发者_StackOverflow '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.
git remote add heroku git@heroku.com:your-app.git
git push heroku master
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
You can view the url of heroku
remote on the current repo by doing
git remote -v
精彩评论