On Nov 14, 2008, at 10:37 AM, albemuth wrote:
> I'm learning git as I go along with this project, I got to a stable
> version so I git-tagged and will get working on something else.
>
> Now the problem is that for updating heroku all I know is how to push
> my master branch, so if I branch off and want to test that branch on
> heroku what I would normally do is merge to master and then push it.
>
> Is it possible to checkout a branch or tag remotely?? On heroku of
> course?
>
> I'm loving the git workflow, but for me I just have to forget svn even
> existed.

I'm kind of new to heroku, but the pattern seems to be that the heroku  
app always pulls from master.  So if you want to work on stuff and  
push it to heroku but not trigger deployment you'll have to push to a  
different remote branch (e.g., "development").  The only side effect  
of this I've found is that a push still triggers a reboot (but not a  
deployment of new code).

Creating remote branches with local tracking branches involves a  
couple commands, so I used http://github.com/webmat/git_remote_branch  
to help there, which was pretty easy.  And you can also type "grb  
explain" for any grb command and it'll show you the git operations  
involved in what you're doing.

It could be a pretty cool feature if the heroku api would let you  
deploy a specific tag instead of always deploying master, but it  
doesn't appear to work that way.

Hope that helps,
Mat

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to