On Mon, Apr 14, 2008 at 12:33 AM, origin_developer <[EMAIL PROTECTED]> wrote:
>  Can I get suggestions on how to move my app from GitHub to Heroku and
>  back?

You can do this if you're using git locally.  The magic of
decentralized revision control makes it possible, since every checkout
is a full repository in its own right.  What I suggest is adding two
different remotes to your local checkout, and then you can push to
both.  Something like this:

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
diff, or whatever.  You could also name one origin, which will make it
the default, but it would probably lead to less confusion if you had
to explicitly name where you wanted to push or pull from each time.

Adam

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

  • using GitHub origin_developer
    • Re: using GitHub Adam Wiggins

Reply via email to