Skip to content

Instantly share code, notes, and snippets.

@trungx
Forked from alterisian/heroku_to_github.txt
Created March 24, 2018 09:53
Show Gist options
  • Save trungx/c3fd13b498eb2426db960efc1c405503 to your computer and use it in GitHub Desktop.
Save trungx/c3fd13b498eb2426db960efc1c405503 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