I'm pretty sure you can push to other branches on heroku as well. Only master gets deployed.
Mike On Friday, September 30, 2011 at 11:10 AM, Keenan Brock wrote: > Hi Richard. > > I think I heard you correctly. > Is this just a typical scenario with 2 developers working on a common code > base? > (Or 1 developer working from 2 different machines) > > > heroku can act as your central repository. > > # git remote -v > should show heroku as your origin > > > On computer A, > You deploy/push to heroku. > # git push origin HEAD > > on computer B > You pull those changes from heroku > # git pull —rebase origin HEAD > > > If you want to be able to share code between your 2 computers without > deploying to heroku will either require remote branches or have 2 different > "central" repositories (github and heroku) > > —Keenan > > On Friday, September 30, 2011 at 1:28 PM, Richard Lung wrote: > > > Hi guys, > > > > I'm a newbie to heroku. > > my problem is I want to update the host and the remote machine, so > > each time I work on any computer I will push it to git and can > > download from the other computer. > > > > TIA, > > Richard > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to [email protected] > > (mailto:[email protected]). > > To unsubscribe from this group, send email to > > [email protected] > > (mailto:[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] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[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.
