How to update an Heroku App created using GitHub "Deploy to Heroku" button?



I’ve created an app using a GitHub ‘Deploy to Heroku’ button. Since the git project has changed, how to update my existing instance with new upstream commits?


I went and grabbed the original repo and then force pushed it onto my app in Heroku. Looks like this:

git clone
git checkout v0.7.3
git remote add heroku
git push -f heroku master

Heroku makes it easy to clone the repo for you app using

heroku git:clone -a app-name

I originally tried doing that and then adding the original repo as a remote and merging changes, but I ran into some trouble which I didn’t feel like figuring out.

Answered By – jrjohnson

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More