Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Quick deploy to Heroku from git repo
## summary
git remote add heroku
git push heroku master
heroku open
## commented steps
# (if you haven't) add keys to heroku so you can push
heroku keys:add
# (opt) if projects doesn't exist*
heroku create heroku_app_name
# adding heroku as remote, so we can deploy to it
heroku git:remote -a heroku_app_name [-r remote_name]
# deploying!
git push heroku yourbranch:master
## cool
# check remote repos
git remote -v
* if `git init` is already done
heroku apps:create example
More info:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.