push to existing heroku app code example
Example 1: how to add existing heroku remote
git remote add heroku [email protected]:project.git
Example 2: git remote add heroku
heroku git:remote -a project
Example 3: heroku git remote
heroku git:remote -a name-of-app
Example 4: how to push database to heroku
heroku run rails db:migrate