Skip to content

Instantly share code, notes, and snippets.

@freqn
Forked from alterisian/heroku_to_github.txt
Created November 18, 2017 01:06
Show Gist options
  • Save freqn/6e6f30a4e5810e007f3fa61ea7ecf230 to your computer and use it in GitHub Desktop.
Save freqn/6e6f30a4e5810e007f3fa61ea7ecf230 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