-
Initialise with git:
git init -
Get the app name:
heroku apps -
Add remote:
heroku git:remote -a your_app_name
Edit:
You can also run commands without permanently adding the app
heroku run -a your_app_name
Initialise with git: git init
Get the app name: heroku apps
Add remote:
heroku git:remote -a your_app_name
Edit:
You can also run commands without permanently adding the app
heroku run -a your_app_name