Re: Creating new remote branch in git?

From: Joe Abbate <jma(at)freedomcircle(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alex Hunsaker <badalex(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Creating new remote branch in git?
Date: 2011-06-10 04:56:35
Message-ID: 4DF1A403.7000408@freedomcircle.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/10/2011 12:40 AM, Tom Lane wrote:
> Yes, I was reading exactly that before posting. It talks about pushing
> a branch you've created locally, and it talks about what happens when
> others pull that down, and it's about as clear as mud w/r/t how the
> original pusher sees the remote branch. What I want is to end up
> with my local branch tracking the remote branch in the same way as if
> I'd not been the branch creator. Preferably without having to do
> anything as ugly as delete the branch, or re-clone, or manually hack
> config files. This has got to be a use case that the git authors
> have heard of before...

You don't have to do any of those ugly steps. By creating the branch,
you see it in your own environment. By pushing it to origin, the remote
branch is created and others can see it. You can checkout master after
the push and continue working.

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-06-10 05:18:09 Re: Creating new remote branch in git?
Previous Message Magnus Hagander 2011-06-10 04:43:56 Re: Creating new remote branch in git?