-
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
More Related Contents:
- heroku – how to see all the logs
- Easy way to prevent Heroku idling?
- How to use heroku’s ephemeral filesystem
- Heroku does NOT compile files under assets pipelines in Rails 4
- Redeploy Heroku app without code changes
- No permanent filesystem for Heroku?
- Heroku + gunicorn not working (bash: gunicorn: command not found )
- Force my heroku app to use SSL (https)
- How to avoid the –app option with heroku CLI?
- How to add .env file or otherwise set environment variables in a Heroku app?
- Hosting a production React app built with Wepback on Heroku
- How to configure heroku application DNS to Godaddy Domain?
- Deploying Flask with Heroku
- ‘heroku’ does not appear to be a git repository
- SSH tunneling from Heroku
- How to hide databases that I am not allowed to access
- Recompile Heroku slug without push or config change
- How can I pull an existing heroku app to new location for development?
- Static IP Address with Heroku (not Proximo)
- Heroku Boot Timeout (Error R10)
- How to empty a Heroku database
- heroku: src refspec master does not match any
- OpenSSL::SSL::SSLError on Heroku [duplicate]
- No web processes running Django in heroku
- Why do people use Heroku when AWS is present? What distinguishes Heroku from AWS? [closed]
- How to deploy node app that uses grunt to heroku
- Deploy Nodejs on Heroku fails serving static files located in subfolders
- App not compatible with buildpack – Heroku
- Error while pushing to Heroku: requested runtime is not available for this stack
- Couldn’t find that process type, Heroku