0 votes
1 view
in Devops and Agile by (28.1k points)

I have an existing Rails app on GitHub and deployed on Heroku. I'm trying to set up a new development machine and have cloned the project from my GitHub repository. However, I'm confused as to how to link this folder up to Heroku. Originally, I used the heroku create command, but obviously, I don't want to do that this time since it will create another Heroku instance.

1 Answer

0 votes
by (48k points)

Heroku project is based on the Heroku git remote. 

To add your remote in current repository use:

git remote add Heroku [email protected]:project.git

Here the project is the name of Heroku project. After this, you can use the HerokuXXXX commands and push the changes to Heroku using 

git push Heroku master

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...