DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Overwrite Heroku Code With An Alien Git Repository

03.18.2008
| 5268 views |
  • submit to reddit
        // Use this command in your repos directory to push to your heroku repos. Useful for github / heroku sync.

git push -v -f git@heroku.com:<application>.git
    

Comments

Snippets Manager replied on Thu, 2006/01/19 - 9:56am

NICE! Thanks so much. Much easier than nuking a heroku app and restarting.