Skip to content

Instantly share code, notes, and snippets.

@alterisian
Created October 28, 2010 13:10
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save alterisian/651303 to your computer and use it in GitHub Desktop.
Save alterisian/651303 to your computer and use it in GitHub Desktop.
How to git your existing heroku app into a new github repo
git remote add github [EMAIL PROTECTED]:myaccount/myapp.git
git remote add heroku [EMAIL PROTECTED]:myapp.git
Then you can do “git push heroku” and “git push github”, or pull, or
From: http://blog.mindtonic.net/using-github-and-heroku-together
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment