Skip to content

Instantly share code, notes, and snippets.

@martinhj
Created March 5, 2021 13:53
Show Gist options
  • Save martinhj/d1d450e09c8a27cab7bdfd099473be8c to your computer and use it in GitHub Desktop.
Save martinhj/d1d450e09c8a27cab7bdfd099473be8c to your computer and use it in GitHub Desktop.
Heroku cheat sheet
# Logs
heroku help logs
heroku logs --app=app-name # also for apps in teams (without defining team)
heroku logs --app=pwp-integrated-decameron --num=500 --tail # get 500 last lines and subscribe to future
# Plugins
heroku plugins:install heroku-plugin
heroku plugins:install heroku-builds
heroku help builds
heroku builds --app=pwp-app-name
heroku builds:info 8hash3e6-a367-4ba9-8fc1-383af1hashf6 --app=app-name # get hash from command above 👆
heroku builds:output --app=app-name # build log (get latest when defined like this)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment