Skip to content

Instantly share code, notes, and snippets.

@afandiyusuf
Last active December 6, 2020 19:33
Show Gist options
  • Save afandiyusuf/6a29bdf9ddbafca684861f311d378dfb to your computer and use it in GitHub Desktop.
Save afandiyusuf/6a29bdf9ddbafca684861f311d378dfb to your computer and use it in GitHub Desktop.
Set default app for heroku
cd /path/to/git
heroku git:remote -a <name-of-the-app>

after that you should can run heroku run [your command] without using --apps [name apps]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment