4/24/2017 - 6:19 AM

heroku commands

heroku commands

#Destroy the app:
heroku apps:destroy --app example

#Create a new one:
heroku create example

#Push to it:
git push heroku -u master

#Attach repo to existing app
git remote add heroku git@heroku.com:{heroku-app-name}.git

#Create a downstream app in a pipeline
heroku fork --from <source-app> --to <target-app>
# After the above step, remember to go to <target-app> from web interface in heroku and add to the existing pipeline