Hi, Git allows you to push a local branch as another branch on the remote server. Ie:
git push myapp-new-layout newlayout:master That will push to the remote myapp-new-layout the branch newlayout as master, so Heroku will deploy it. On Sat, Nov 21, 2009 at 12:57 AM, Ray <[email protected]> wrote: > Hi > > I'm wondering if someone can provide me with some advice. I'd better > start by saying that I'm fairly new to git, so please excuse my > ignorance. > > I'm trying to figure out how use git and Heroku together for deploying > multiple versions of an application. Based on my experience with > other version control systems I'm keeping my "production" release on > the Master branch - so pushing this to my production Heroku App is > pretty straight forward. > > When I'm working on new releases I would normally do this on a branch > and then merge the branch into master when it's ready for production. > But I want to push these development versions to Heroku too (to a > different Heroku App), so that my customers can access it and give me > their comments. But according to the documentation I can only push > the git master. So how do I get the development version of my app, > sitting in a git branch, to Heroku? > > I'd really appreciate any help. I'm sure hundreds of you must be > doing this but I can't find anything in the groups on it (which makes > me think it must be obvious to those that know!) > > Thanks > > Rau > > -- > > 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. > > > -- 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.
